PowerShellActionPlatformOption Enumeration

Options for when to convert actions to PowerShell equivalents.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[FlagsAttribute]
public enum PowerShellActionPlatformOption

Members

Never0 Never convert any actions to PowerShell. This will force exceptions to be thrown when unsupported actions our action quantities are found.
Version11 Convert actions under Version 1 of the library (Windows XP or Windows Server 2003 and earlier). This option supports multiple actions of all types. If not specified, only a single ExecAction is supported. Developer must ensure that PowerShell v2 or higher is installed on the target computer.
Version22 Convert all ShowMessageAction and EmailAction references to their PowerShell equivalents on systems on or after Windows 8 / Server 2012.
All3Convert all actions regardless of version or operating system.

See Also