Home Dashboard Directory Help
Search

Export-Counter FileFormat parameter values by Shay Levi


Status: 

Active


2
0
Sign in
to vote
Type: Bug
ID: 788936
Opened: 5/30/2013 4:33:57 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

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

blg
csv
tsv

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