Welcome to the ConnectWise Control Remote Powershell Commands PT 2. They are my other go to remote commands. Some commands will need extra configuration or tweaking depending on your environment. The others are cut and paste. Enjoy!
PowerShell & Command Prompt Commands
The commands are either PowerShell (#!ps) or Command Prompt (#!cmd) commands. There are a couple attributes that affect how the commands respond.
#MaxLength - The max length of output characters. Some may need to be larger due to amount of output data. #TimeOut - The period of time the command can run and will be terminated after the max has been hit. Most commands are quick to respond.
SUCCESS or FAILURE
The Command Prompt commands should work fine however the PowerShell commands may fail due to the set level of running commands remote. "ps cannot be loaded because the execution of scripts is disabled or restricted on this system." Let's set the execution policy.