Get-ComputerInfo most properties are empty
I try the new CMDLet Get-ComputerInfo, but the most properties in the result are empty.
Only this properties show values:
Try also as Admin and with different Hardware and VM's. (Windows 10 x64 Versiom 1607)
Run "winrm quickconfig"
Not only will it resolve the empty return, it will speed up the query. For me it went from about 12 seconds to complete with blank return values to about 3 fully populated.
The issue is with the cmdlet passing "localhost" instead of "null" to indicate a local call..."localhost" is passed through the winrm remote stack...opening it up resolves this issue.
The above information was discovered by JeffBi during this bug discussion.
# Repro with 5.1.14393.693 and v6.0.0-alpha.17
# --> most properies are empty
# --> the CMDLet worked normal
but Get-ComputerInfo work only for the localhost.(!)
Why does it need this service?