Search

Get-WMIOBject help file for ComputerName may be incorrect by Jason Yoder

Active

1
0
Sign in
to vote
Type: Bug
ID: 769311
Opened: 10/31/2012 8:23:27 AM
Access Restriction: Public
0
Workaround(s)
0
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.

Required?                    false
Position?                    named
Default value
Accept pipeline input?     false
Accept wildcard characters? false

My testing shows that it cannot. This may need to be corrected.
Details (expand)
How often does this happen?
Always Happens
Have you seen this problem before in this product?
No, this is new to the most recent version
Reproduction Steps
# 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.....
Expected Results
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)
File Attachments
0 attachments
Sign in to post a comment.
Posted by 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.
Sign in to post a workaround.