parameter naming and definition

Jun 23, 2008 at 12:23 PM

Hello.
I'm glad to get this.

But I noticed that several characters of the beginning their parameters were overlapping.
So it need to type many keys.

For example, in the case of Export-OpenXmlSpreadsheet

-Chart -ChartType -ColumnsToChart -Confirm
-OutBuffer -OutputPath -OutVariable

I think if it replace "ChartType" to like "TypeOfChart" or unite -ChartType and  -Chart switch parameter,
and replace "OutputPath" to "Path" or put position for -OutputPath,
it will be fewer types than before.

How is it?

thanks.

Junn

Jun 23, 2008 at 11:34 PM

Hi Junn,

Yes, I agree with you.  I'll log this as an issue.

Also, we have had some people comment on the naming of cmdlets: Export-OpenXmlSpreadsheet perhaps should be New-OpenXmlSpreadsheet.  What do you think?

-Eric

Jun 24, 2008 at 2:14 PM
Thanks Eric.

Also, we have had some people comment on the naming of cmdlets: Export-OpenXmlSpreadsheet perhaps should be New-OpenXmlSpreadsheet.  What do you think?

That is very difficult for me.
Considering how Export-OpenXmlSpreadsheet is used, I feel that he resembles Export-Csv and Export-Clixml.
So I think "Export" perhaps suit him...

Junn