What is the meaning of the status value in resulted table via power shell command?


hello,

i have queries result given powershell command:

  1. get-wmiobject -class win32_processor results status code ok - what mean ? other status code options  ?
  2. get-wmiobject -class win32_computersystem results status code as ok - what mean ? other status code options  ?
  3. [system.net.webrequest]::create($site) > getresponse() results statuscode as ok - what mean ? whats other status code options  ?

would please clarify ?

thanks , kind regards,



dipti chhatrapati

dipti...check msdn site particular class info.

the values differ class class.

http://msdn.microsoft.com/en-us/library/aa394373(v=vs.85).aspx

status
data type: string
access type: read-only
qualifiers: maxlen (10)

current status of object. property inherited from cim_managedsystemelement.

values are:

"ok"
"error"
"degraded"
"unknown"
"pred fail"
"starting"
"stopping"
"service"
"stressed"
"nonrecover"
"nocontact"
"lostcomm"


thanks azam when see answers please mark answer if helpful..vote helpful.





Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...