Skip to main content

Test-PowerPoint

SYNOPSISโ€‹

Tests whether PowerPoint is running in either fullscreen slideshow mode or presentation mode.

SYNTAXโ€‹

Test-PowerPoint [<CommonParameters>]

DESCRIPTIONโ€‹

Tests whether someone is presenting using PowerPoint in either fullscreen slideshow mode or presentation mode.

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Test-PowerPoint

PARAMETERSโ€‹

CommonParametersโ€‹

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTSโ€‹

Noneโ€‹

You cannot pipe objects to this function.โ€‹

OUTPUTSโ€‹

System.Booleanโ€‹

Returns $true if PowerPoint is running in either fullscreen slideshow mode or presentation mode, otherwise returns $false.โ€‹

NOTESโ€‹

This function can only execute detection logic if the process is in interactive mode.

There is a possiblity of a false positive if the PowerPoint filename starts with "PowerPoint Slide Show".

https://psappdeploytoolkit.com