Windows PowerShell Home
Get-ItemProperty Example 4's explanation has an incorrect comment on the command
3/28/2014 8:43:26 AM
User(s) can reproduce this bug
Example 4 for shown by Get-Help Item-Property -Examples reads as follows
-------------------------- EXAMPLE 4 --------------------------
PS C:\>Get-ItemProperty -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion -name "ProgramFilesDir"
This command gets the value name and data of the ProgramFilesDir registry entry in the CurrentVersion registry
subkey. The command uses the Path parameter to specify the subkey and the Name parameter to specify the value name
of the entry.
The command uses a back tick or "grave accent" (`), the Windows PowerShell continuation character, to continue the
command on the second line.
The last paragraph describes a back tick used in "the command", but it seems that the command in the example as it currently stands has no backtick. This may be an artifact of early documentation being updated and the back tick explanation being overlooked for removal.
How often does this happen?
Have you seen this problem before in this product?
I don't know if this issue existed previously
Get-Help Get-ItemProperty -Examples
and look at Example 4
The last paragraph should be omitted.
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.
© 2014 Microsoft