Windows PowerShell Home
Incorrect Example 3 in the Test-PSSessionConfigurationFile help topic
12/13/2012 3:48:15 AM
User(s) can reproduce this bug
The output shown in that example is not correct. We have a function that tests a validity of some session configuration files. Output contains the following line:
VERBOSE: The member 'AliasDefinitions' must contain the required key 'Description'. Add the require key to the file...
'Description' key cannot be the cause of a problem, because that key is optional, not required.
Check out the 'AliasDefinitions' description in the New-PSSessionConfigurationfile help topic:
Adds the specified aliases to sessions that use the session configuration. Enter a hash table with the following keys:
-- Description: A text string that describes the alias. This key is OPTIONAL.
How often does this happen?
Have you seen this problem before in this product?
No, this is new to the most recent version
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