Windows Vista Forums

Export-CliXml/Export-Csv: Change to Export-Object?
  1. #1


    Alex K. Angelopoulos [MVP] Guest

    Export-CliXml/Export-Csv: Change to Export-Object?

    I'd like to suggest that these two Export cmdlets (and their corresponding
    importers) be consolidated into Export-Object/Import-Object cmdlets.

    It would reduce verb confusion. We have Export-Alias and Export-Console,
    where the noun clearly indicates what is being exported. With Clixml and
    Csv, we are specifying the format of the export.

    It's a good Less Is More modification. The generic Object noun is already
    used for object manipulation, so people are likely to guess that this is the
    right noun for export/import. Specific formats can then be handled by
    a -Format or -As parameter.

    Opinions?





      My System SpecsSystem Spec

  2. #2


    Jeffrey Snover [MSFT] Guest

    Re: Export-CliXml/Export-Csv: Change to Export-Object?

    This is a good suggestion. Please submit it.

    --
    Jeffrey Snover [MSFT]
    Windows PowerShell Architect
    Microsoft Corporation
    This posting is provided "AS IS" with no warranties, no confers rights.
    "Alex K. Angelopoulos [MVP]" <a k a @ m v p s . o r g> wrote in message
    news:Ol0Nx2%23hGHA.3904@TK2MSFTNGP02.phx.gbl...
    > I'd like to suggest that these two Export cmdlets (and their corresponding
    > importers) be consolidated into Export-Object/Import-Object cmdlets.
    >
    > It would reduce verb confusion. We have Export-Alias and Export-Console,
    > where the noun clearly indicates what is being exported. With Clixml and
    > Csv, we are specifying the format of the export.
    >
    > It's a good Less Is More modification. The generic Object noun is already
    > used for object manipulation, so people are likely to guess that this is
    > the right noun for export/import. Specific formats can then be handled by
    > a -Format or -As parameter.
    >
    > Opinions?
    >




      My System SpecsSystem Spec

  3. #3


    Alex K. Angelopoulos [MVP] Guest

    Re: Export-CliXml/Export-Csv: Change to Export-Object?

    https://connect.microsoft.com/feedba...5769&SiteID=99

    "Jeffrey Snover [MSFT]" <jsnover@microsoft.com> wrote in message
    news:OU1K7z$hGHA.764@TK2MSFTNGP03.phx.gbl...
    > This is a good suggestion. Please submit it.
    >
    > --
    > Jeffrey Snover [MSFT]
    > Windows PowerShell Architect
    > Microsoft Corporation
    > This posting is provided "AS IS" with no warranties, no confers rights.
    > "Alex K. Angelopoulos [MVP]" <a k a @ m v p s . o r g> wrote in message
    > news:Ol0Nx2%23hGHA.3904@TK2MSFTNGP02.phx.gbl...
    >> I'd like to suggest that these two Export cmdlets (and their
    >> corresponding importers) be consolidated into Export-Object/Import-Object
    >> cmdlets.
    >>
    >> It would reduce verb confusion. We have Export-Alias and Export-Console,
    >> where the noun clearly indicates what is being exported. With Clixml and
    >> Csv, we are specifying the format of the export.
    >>
    >> It's a good Less Is More modification. The generic Object noun is already
    >> used for object manipulation, so people are likely to guess that this is
    >> the right noun for export/import. Specific formats can then be handled by
    >> a -Format or -As parameter.
    >>
    >> Opinions?
    >>

    >
    >




      My System SpecsSystem Spec

  4. #4


    Keith Hill [MVP] Guest

    Re: Export-CliXml/Export-Csv: Change to Export-Object?

    "Alex K. Angelopoulos [MVP]" <a k a @ m v p s . o r g> wrote in message
    news:OUm5BiCiGHA.2188@TK2MSFTNGP04.phx.gbl...
    > https://connect.microsoft.com/feedba...5769&SiteID=99
    >


    I like it. Voted.

    --
    Keith



      My System SpecsSystem Spec

Export-CliXml/Export-Csv: Change to Export-Object? problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export-clixml producing weird xml output j-n-b PowerShell 2 30 Mar 2009
Formatting Inline for Export-CliXML Command Brandon Shell PowerShell 14 18 Sep 2007
Export/Import-CliXml oddity Keith Hill PowerShell 1 11 Feb 2007
export-clixml and compare-object question Gaurhoth PowerShell 1 21 Dec 2006
Export-Clixml output is inconvenient for viewing =?Utf-8?B?Um9tYW4gS3V6bWlu?= PowerShell 3 05 Sep 2006