PowerShell activities PowerShell is built on the Windows .NET Framework and is designed to control and automate the administration of Windows machines and applications. PowerShell must be installed on any MID Server that uses these activities. MID Servers using PowerShell must be installed on a supported Windows operating system. ServiceNow supports PowerShell 2.0 and above. However, PowerShell 3.0 does not support Windows Server 2003. The ServiceNow Orchestration plugin adds these basic PowerShell activities to workflows. For instructions on using activities from the PowerShell activity pack, see PowerShell activity pack HResult codesWhen a PowerShell script encounters an error, the Windows machine may return an HResult code as part of the error message.Change Service State activityThe Change Service State activity starts or stops a Windows service on a remote system.Run PowerShell activityThe Run PowerShell activity executes Windows PowerShell commands on a MID Server.