executePowershellCommand()
executePowershellCommand( $servername, $username, $password, $cmd, $live = true) : array
Execute a given command on a remote server using poershell
Parameters
| $servername | ||
| $username | ||
| $password | ||
| $cmd | ||
| $live |
Returns
array —output : console output of command execution exit_status : exit status of the command executed