Updated winrm dependency to local WinRm. Added exit codes