Export-Counter FileFormat parameter values - by Shay Levi

Status : 


Sign in
to vote
ID 788936 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 5/30/2013 4:33:57 AM
Access Restriction Public


The FileFormat parameter of the Export-Counter cmdlet allows only three values:


But the values cannot be discovered via autocompletion/Intellisense bacause the parameter type is of System.String.

It would be better to have the type as an Enum so autocompletion/Intellisense can display the values in real time. Currently the only possible way to find the values is to read the parameter help (which is probe to human errors) or pass a wrong value and get possible values from the error you get back.
Sign in to post a comment.