有时候,一些本地命令,比如net.exe,在执行过程中,会返回数字编号形式的错误信息。很郁闷的是,我们不知道这些数字代表什么意思。以前,我们可以使用如下的方式去获取数字代表的信息:
PS> net helpmsg 3534
The service did not report an error.
PS> net helpmsg 1
Incorrect function.
PS> net helpmsg 4323
The transport cannot access the medium.
PS> winrm helpmsg 3534
The service did not report an error.
PS> winrm helpmsg 1
Incorrect function.
PS> winrm helpmsg 4323
The transport cannot access the medium.
PS> winrm helpmsg 0x80338104
The WS-Management service cannot process the request. The WMI service returned an 'access denied' error.
PS> net helpmsg 0x80338104
The syntax of this command is:
NET HELPMSG
message#