Home Dashboard Directory Help

Get-Content cmdlet documentation misses -wait parameter decription by aljodAv



Sign in
to vote
Type: Bug
ID: 780141
Opened: 2/27/2013 11:45:22 AM
Access Restriction: Public
User(s) can reproduce this bug


The web pages




don't have -wait parameter decription.
Sign in to post a comment.
Posted by aljodAv on 12/21/2013 at 11:15 PM
The documentation still lacks any information about -Wait parameter.

Even using PowerShell 4, which leads to the page


The documentation says nothing about -Wait parameter, nothing about the link to dynamic parameters, and even doesn't tell if there is or isn't dynamic parameters or provider specific parameters for this cmdlet.

We now there are some cmdlets that have specific parameters for specific provider, but no one can have this info available in our minds.

So, we do expect that    help -online Get-Content     leads us to a page that contains the info pertinent to it, and this include links to pages that describes extensions to its functionality, and also which are those extra parameters (so we can look at it and remind things about it).

By the way, it's no easy, even currently, to find links to the provider specific cmdlets' decription.

The Get-Content cmdlet is just one specific cmdlet; this report applies to any cmdlet that has specific functionalities for specific providers.
Posted by Bartek Bielawski on 5/31/2013 at 12:46 PM
This is expected - -Wait is dynamic parameter (exists only in FileSystem provider). If you run get help on your system in this provider, you will get help for this parameter. Online help is not provider-specific, so it won't contain information about any dynamic parameter. E.g. check Get-ChildItem (no -File or -Directory).

If you want to read about dynamic parameters for given provider, read about_<provider name> topic, in this case - FileSystem, here: http://technet.microsoft.com/en-us/library/hh847764.aspx
Sign in to post a workaround.