#PSTip Decoding WinRM error messages

When troubleshooting WinRM errors, you’ll sometime encounter hex error codes, such as 0x80338104, 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 0x8033 are WinRM errors.

Share on: