Incorrect Example 3 in the Test-PSSessionConfigurationFile help topic - by Aleksandar Nikolić

Status : 


Sign in
to vote
ID 774205 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 12/13/2012 3:48:15 AM
Access Restriction Public


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.
Sign in to post a comment.