Windows PowerShell Home
Bug in 'Remove-NetIPAddress' documentation (PassThru property)
1/28/2013 1:43:19 AM
User(s) can reproduce this bug
I've noticed a bug in built-in help for 'Remove-NetIPAddress' cmdlet. Currently it states the following:
Sends items from the interactive window down the pipeline as input to other commands. By default, this cmdlet does not generate any output. This parameter is equivalent to using the Multiple value of the OutputMode parameter.
To send items from the interactive window down the pipeline, click to select the items and then click OK. Shift-click and Ctrl-click are supported."
It looks like the description of PassThru cmdlet was mistakenly copied from the same for Out-GridView, as OutputMode does not exist in Remove-NetIPAddress. Also it is not clear what exactly would this cmdlet return in case if I use PassThru since Outputs section states none.
Description on TechNet web page is slightly different from the one that is shown in the built-in help (even after Update-Help NetTCPIP -Force) but it's still unclear what exactly will be Passed Through - NetIPAddress or the one that was piped into this cmdlet...
How often does this happen?
Have you seen this problem before in this product?
No, this is new to the most recent version
Get-Help Remove-NetIPAddress -Parameter PassThru
A corrected and more detailed explaination
Where do you see this documentation issue.
On the box help (available with get-help)
to post a comment.
Please enter a comment.
to post a workaround.
Please enter a workaround.
© 2013 Microsoft