\CloudMunchPSConnection

This is a helper class to execute powershell commands.

Summary

Methods
Properties
Constants
executePowershellCommand()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

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