Page History
...
One last thing to keep in mind with Powershell scripts when compared to traditional scripting languages, is that also has the idea of an 'Execution Policy', that controls what scripts or configuration files can be used. By default Powershell runs under the 'Restricted' execution Policy. For more details about Powershell's execution policys in general please refer to 'about_Execution_Policies' from Microsoft or the 'Set-ExecutionPolicy cmdlet' which allows you change these behaviors.
From the monitoring station side
Obviously in order to leverage powershell scripts on your Uptime Infrastructure Monitor monitoring station, it needs to be running on a Windows system.
...
Once you have your batch wrapper script created, you can then use the path to the .bat file in the various Script Name fields within UIM's custom monitors or as part of Alert/Action Profiles just like you would any other script.
From the agent side
Setting up powershell script as custom commands for the Windows Agent is easier then the monitoring station example above, as we don't need to create the .bat wrapper script, and instead can provide the powershell.exe flags/arguments directly in the Agent Console's 'Path to Script' field.
...