Sha256: 8f63ebcbfa653e8e76da3e611677e788ebcb3a84731332f4c168b88ebb3b1abc

Contents?: true

Size: 297 Bytes

Versions: 284

Compression:

Stored size: 297 Bytes

Contents

require 'winrm'
endpoint = 'http://localhost:5985/wsman'
winrm=WinRM::WinRMWebService.new(endpoint, :plaintext, :user => 'Administrator', :pass => 'vagrant', :basic_auth_only => true)
winrm.cmd('ifconfig /all') do |stdout, stderr|
  STDOUT.print stdout
  STDERR.print stderr
end
#winrm.open_shell

Version data entries

284 entries across 50 versions & 3 rubygems

Version Path
veewee-0.4.5.pre1 templates/windows-2008R1-serverstandard-amd64/winrm.rb
veewee-0.4.5.pre1 templates/windows-2008R1-serverweb-amd64/winrm.rb
veewee-0.4.5.pre1 templates/windows-2008R1-serverwebcore-amd64/winrm.rb
veewee-0.4.4 templates/windows-2008R1-serverweb-i386/winrm.rb
veewee-0.4.4 templates/windows-2008R1-serverwebcore-amd64/winrm.rb
veewee-0.4.4 templates/windows-2008R2-amd64/winrm.rb
veewee-0.4.4 templates/windows-7-premium-amd64/winrm.rb
veewee-0.4.4 templates/windows-8-amd64/winrm.rb
veewee-0.4.4 templates/windows-8-i386/winrm.rb
veewee-0.4.4 templates/windows-8-preview-amd64/winrm.rb
veewee-0.4.4 templates/windows-2008R1-serverweb-amd64/winrm.rb
veewee-0.4.4 templates/windows-2008R1-serverstandard-amd64/winrm.rb
veewee-0.4.3 templates/windows-8-amd64/winrm.rb
veewee-0.4.3 templates/windows-2008R1-serverwebcore-amd64/winrm.rb
veewee-0.4.3 templates/windows-7-premium-amd64/winrm.rb
veewee-0.4.3 templates/windows-2008R2-amd64/winrm.rb
veewee-0.4.3 templates/windows-2008R1-serverweb-amd64/winrm.rb
veewee-0.4.3 templates/windows-2008R1-serverstandard-amd64/winrm.rb
veewee-0.4.3 templates/windows-2008R1-serverweb-i386/winrm.rb
veewee-0.4.3 templates/windows-8-i386/winrm.rb