PowerShellActionPlatformOption Enumeration
Options for when to convert actions to PowerShell equivalents.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[FlagsAttribute]
public enum PowerShellActionPlatformOption
Never | 0 |
Never convert any actions to PowerShell. This will force exceptions to be thrown when unsupported actions our action quantities
are found.
|
Version1 | 1 |
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.
|
Version2 | 2 |
Convert all ShowMessageAction and EmailAction references to their PowerShell equivalents on systems
on or after Windows 8 / Server 2012.
|
All | 3 | Convert all actions regardless of version or operating system. |