2

#PSTip Decoding WinRM error messages

When troubleshooting WinRM errors, you’ll sometime encounter hex error codes, such as 0×80338104, which don’t say much about the error itself. In such cases, you can use the winrm command line tool with the helpmsg parameter, to convert the error code to a readable error description.

PS> winrm helpmsg 0x80338104
The WS-Management service cannot process the request. The WMI service returned an 'access denied' error.

Bonus tip: All error codes that start with 0×8033 are WinRM errors.

Filed in: Columns, Tips and Tricks Tags: , ,
© 2013 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.