Forms CSV strings from input.
Snap-In: Microsoft.PowerShell.Utility
Syntax:
Export-Csv
[-Path] <String> -InputObject <PSObject> [-Force] [-NoClobber] [-Encoding <String>] [-NoTypeInformation] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>] [-WhatIf] [-Confirm]
Description:
The export-csv Cmdlet takes various types of input and uses markers such as line breaks, commas, double quotes, and spaces to create a list of comma-separated values (CSV). Properties common to an object are grouped in the same CSV string. A missing property will show as a space between commas. Double quotes in a string are redoubled to show they are literal.