Search

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

Active

1
0
Sign in
to vote
Type: Bug
ID: 774205
Opened: 12/13/2012 3:48:15 AM
Access Restriction: Public
0
Workaround(s)
0
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:

-AliasDefinitions<Hashtable[]>

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.
Details (expand)
How often does this happen?
Always Happens
Have you seen this problem before in this product?
No, this is new to the most recent version
Reproduction Steps
 
Expected Results
 

Where do you see this documentation issue.

TechNet Library
On the box help (available with get-help)
File Attachments
0 attachments
Sign in to post a comment.
Sign in to post a workaround.