名前 Import-Csv 概要 Creates table-like custom objects from the items in a CSV file. 構文 Import-Csv [[-Path] []] [[-Delimiter] []] [-Encoding {Unicode | UTF7 | UTF8 | ASCII | UTF32 | BigE ndianUnicode | Default | OEM}] [-Header []] [-InformationAction {SilentlyContinue | Stop | Continue | In quire | Ignore | Suspend}] [-InformationVariable []] [-LiteralPath []] [] Import-Csv [[-Path] []] [-Encoding {Unicode | UTF7 | UTF8 | ASCII | UTF32 | BigEndianUnicode | Default | OEM}] [-Header []] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend }] [-InformationVariable []] [-LiteralPath []] -UseCulture [] 説明 The Import-Csv cmdlet creates table-like custom objects from the items in CSV files. Each column in the CSV file b ecomes a property of the custom object and the items in rows become the property values. Import-Csv works on any CSV file, including files that are generated by the Export-Csv cmdlet. You can use the parameters of the Import-Csv cmdlet to specify the column header row and the item delimiter, or di rect Import-Csv to use the list separator for the current culture as the item delimiter. You can also use the ConvertTo-Csv and ConvertFrom-Csv cmdlets to convert objects to CSV strings (and back). These cmdlets are the same as the Export-CSV and Import-Csv cmdlets, except that they do not deal with files. Beginning in Windows PowerShell 3.0, if a header row entry in a CSV file contains an empty or null value, Windows PowerShell inserts a default header row name and displays a warning message. In previous versions of Windows Power Shell, if a header row entry in a CSV file contains an empty or null value, the Import-Csv command fails. 関連するリンク Online Version: http://go.microsoft.com/fwlink/p/?linkid=293983 ConvertFrom-Csv ConvertTo-Csv Export-Csv 注釈 例を参照するには、次のように入力してください: "get-help Import-Csv -examples". 詳細を参照するには、次のように入力してください: "get-help Import-Csv -detailed". 技術情報を参照するには、次のように入力してください: "get-help Import-Csv -full". オンライン ヘルプを参照するには、次のように入力してください: "get-help Import-Csv -online"