Windows PowerShell Home
Get-WMIOBject help file for ComputerName may be incorrect
10/31/2012 8:23:27 AM
User(s) can reproduce this bug
In the current help file for Get-WMIObject (As of Oct 20, 2012) the ComputerName parameter may not be document correctly. The description says "You can also pipe this parameter value to the Get-WmiObject". The full help files says that it cannot.
Accept pipeline input? false
Accept wildcard characters? false
My testing shows that it cannot. This may need to be corrected.
How often does this happen?
Have you seen this problem before in this product?
No, this is new to the most recent version
# This code works
Get-WMIObject Win32_Bios -ComputerName "LON-DC1", "LON-SVR1"
# This code does not
"LON-DC1", "LON-SVR1" | Get-WMIObject Win32_Bios
# Error is: The input object cannot be bound to any parameter for the command.....
Documentation needs to be corrected or this feature needs to be added.
Where do you see this documentation issue.
Other (please specify in the description)
to post a comment.
Please enter a comment.
JuneB - MSFT
on 11/7/2012 at 3:47 PM
Thanks, Jason. I fixed it. You will see the update the next time we update the Microsoft.PowerShell.Management module.
to post a workaround.
Please enter a workaround.
© 2014 Microsoft