Method: WinRM::Shells::Cmd.close_shell
- Defined in:
- lib/winrm/shells/cmd.rb
.close_shell(connection_opts, transport, shell_id) ⇒ Object
29 30 31 32 |
# File 'lib/winrm/shells/cmd.rb', line 29 def close_shell(connection_opts, transport, shell_id) msg = WinRM::WSMV::CloseShell.new(connection_opts, shell_id: shell_id) transport.send_request(msg.build) end |