CWM - Automate -Script - Powershell - Module Check
Summary
This is a function script in ConnectWise Automate that takes a @command@
variable set to a desired command, tests that command on the endpoint, and the script will fail if that command is not recognized.
Sample Run
Function script only.
Variables
Document the various variables in the script. Delete any section that is not relevant to your script.
Name | Description |
---|---|
psout | The output of the PowerShell command. |
User Parameters
Name | Example | Required | Description |
---|---|---|---|
Command | Get-BitLockerVolume | True | The command to test on the endpoint. |
Output
failstatus
will be false if this script fails.