class Dopi::Command::Winrm::Powershell

Public Instance Methods

run() click to toggle source
# File lib/dopi/command/winrm/powershell.rb, line 6
def run
  cmd_stdout, cmd_stderr, cmd_exit_code = winrm_powershell_command(command_string)
  check_output(cmd_stdout) &&
    check_output(cmd_stderr) &&
    check_exit_code(cmd_exit_code)
end