The PowerShell Script schedule step or workflow step executes an arbitrary PowerShell script. It offers carte blanche to run almost any type of activity that may be needed, but it also requires expertise and experimentation to configure.
The first 10 KB of data written to the output and error streams are captured and saved in a history record.
The PowerShell probe supports remoting, but it is almost always simpler to create a local Panel Service installation.
Script – PowerShell script to execute
Use PS Remoting – Whether to consider the following fields to configure remoting
Host – Remote host
User & Password – Optional remoting credentials
Auth Mechanism – Remoting auth mechanism
URI – Remoting URI, default /wsman
Schema URI – Remoting schema URI, default http://schemas.microsoft.com/powershell/Microsoft.PowerShell
Use SSL – Whether to use SSL for remoting connection
Port – Remoting Port, default 5985
Operation Timeout Seconds – Remoting timeout, default 240
Max Redirect – Remoting redirect limit, default 3