PowerShell

This variable contains the full path to the Windows PowerShell command processor, or is empty if PowerShell is not installed on the target system.

The Windows PowerShell is a command processor based on .Net components. It is an optional feature of Windows and only available for Windows XP and later. See the Microsoft Windows PowerShell documentation for more information.

Your installer can use <PowerShell> as a target path for a Run Program action to start the Windows PowerShell processor. The Run Script action also uses this variable to execute PowerShell scripts.

Usage

You can refer to this variable as <PowerShell>. Do not change this variable; it was configured for cross-platform compatibility.

You can also use this variable to check for the presence of Windows PowerShell on the target system by using one of the following conditional expressions in the Condition field of an action or component:

Related topics

VersionPS, System information variables