WinRb / WinRM

Ruby library for Windows Remote Management
Apache License 2.0
412 stars 117 forks source link

Omi Server compatibility fixes #288

Closed Iristyle closed 5 years ago

Iristyle commented 5 years ago

Necessary to get OMI and this gem talking. More info on https://github.com/Microsoft/omi/pull/577#issuecomment-424214040

Still a work in progress as it should require some additional validation.

UPDATE: I think this is good to go now!

Iristyle commented 5 years ago

With the patch at https://github.com/Microsoft/omi/pull/577 ... and the patch from unmerged PR https://github.com/Microsoft/omi/issues/581, I finally have this gem talking to OMI server!

bundle exec bolt command run '$PSVersionTable' --nodes winrm://172.28.54.141 --ssl --user iristyle --password ***** --no-ssl-verify
Started on 172.28.54.141...
Finished on 172.28.54.141:
  STDOUT:

    Name                           Value
    ----                           -----
    PSVersion                      6.1.0
    PSEdition                      Core
    GitCommitId                    6.1.0
    OS                             Linux 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018
    Platform                       Unix
    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
    PSRemotingProtocolVersion      2.3
    SerializationVersion           1.1.0.1
    WSManStackVersion              3.0

Successful on 1 node: winrm://172.28.54.141
Ran on 1 node in 1.50 seconds
Iristyle commented 5 years ago

@mwrock any chance you could have a look?

Thanks!

Iristyle commented 5 years ago

Thanks for the review / merge @mwrock! No worries on the review time - we're all busy!

Excited to see this has already shown up in gem form too!