Enumeration types in help descriptions.

May 5, 2014 at 10:35 PM
Edited May 5, 2014 at 10:40 PM
Is there a way to show all of the possible values a Enum can have in the description? It looks like by default powershell does this when there is no help file but once i generate one I lose the enumeration.

For example:
Current :
Get-Thing [-ReturnType <ReturnType>] [-ServerName <String>]

Goal :
Get-Thing [-ReturnType <ReturnType> { All | Some | Others }] [-ServerName <String>]

Note: I am using 2.3
May 6, 2014 at 1:23 PM
Edited May 6, 2014 at 1:27 PM
if you are talking about help display in PowerShell console, then the answer is no. PowerShell dynamically generates command syntax entry, so it is out of control.