Set PowerShell Transcription Logging

This Automation Manager object turns PowerShell transcription logging on or off. It optionally restores transcription logging to the state it was at before running a policy.

Requires PowerShell 5.0

Before using this Automation Manager Object, you must install PowerShell 5.0.



Input Parameters

Name Type Required Description
Set Transcription Logging String Yes Sets the transcription state.

Select On to turn on transcription logging.

Select Off to turn off transcription logging.
Restore Transcription Boolean   Select this check box to restore transcription logging to its previous state.

This check box is unselected by default.
Restore Status String Yes Input for link to an Output Parameter of the SetPowerShell Transcription state "Status".

Output Parameters

Name Type Description
Status String Returns information about the change in status.
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Object execution error details.

Example Input Parameters

Name Type Required Example
Set Transcription Logging String Yes On
Restore Transcription Boolean   True
Restore Status String Yes < Set PowerShell Transcription Logging.Status >