Skip to content

Fix parameter's position in ConvertFrom-Csv.md #1937

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions reference/3.0/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ Converts object properties in comma-separated value (CSV) format into CSV versio
## SYNTAX

### Delimiter (Default)
```
ConvertFrom-Csv [[-Delimiter] <Char>] [-InputObject] <PSObject[]> [-Header <String[]>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> [[-Delimiter] <Char>]
[-Header <String[]>] [<CommonParameters>]
```

### UseCulture
```
ConvertFrom-Csv [-UseCulture] [-InputObject] <PSObject[]> [-Header <String[]>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> -UseCulture
[-Header <String[]>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -136,7 +138,7 @@ Parameter Sets: Delimiter
Aliases:

Required: False
Position: 2
Position: 1
Default value: "," (comma)
Accept pipeline input: False
Accept wildcard characters: False
Expand Down Expand Up @@ -178,7 +180,7 @@ Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Expand Down
14 changes: 8 additions & 6 deletions reference/4.0/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ Converts object properties in comma-separated value (CSV) format into CSV versio
## SYNTAX

### Delimiter (Default)
```
ConvertFrom-Csv [[-Delimiter] <Char>] [-InputObject] <PSObject[]> [-Header <String[]>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> [[-Delimiter] <Char>]
[-Header <String[]>] [<CommonParameters>]
```

### UseCulture
```
ConvertFrom-Csv [-UseCulture] [-InputObject] <PSObject[]> [-Header <String[]>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> -UseCulture
[-Header <String[]>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -143,7 +145,7 @@ Parameter Sets: Delimiter
Aliases:

Required: False
Position: 2
Position: 1
Default value: "," (comma)
Accept pipeline input: False
Accept wildcard characters: False
Expand Down Expand Up @@ -185,7 +187,7 @@ Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Expand Down
10 changes: 6 additions & 4 deletions reference/5.0/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ Converts object properties in comma-separated value (CSV) format into CSV versio
## SYNTAX

### Delimiter (Default)
```
ConvertFrom-Csv [[-Delimiter] <Char>] [-InputObject] <PSObject[]> [-Header <String[]>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> [[-Delimiter] <Char>]
[-Header <String[]>] [<CommonParameters>]
```

### UseCulture
```
ConvertFrom-Csv [-UseCulture] [-InputObject] <PSObject[]> [-Header <String[]>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> -UseCulture
[-Header <String[]>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down
10 changes: 6 additions & 4 deletions reference/5.1/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ Converts object properties in comma-separated value (CSV) format into CSV versio
## SYNTAX

### Delimiter (Default)
```
ConvertFrom-Csv [[-Delimiter] <Char>] [-InputObject] <PSObject[]> [-Header <String[]>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> [[-Delimiter] <Char>]
[-Header <String[]>] [<CommonParameters>]
```

### UseCulture
```
ConvertFrom-Csv [-UseCulture] [-InputObject] <PSObject[]> [-Header <String[]>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> -UseCulture
[-Header <String[]>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down
43 changes: 8 additions & 35 deletions reference/6/Microsoft.PowerShell.Utility/ConvertFrom-Csv.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Converts object properties in comma-separated value (CSV) format into CSV versio
## SYNTAX

### Delimiter (Default)
```
ConvertFrom-Csv [[-Delimiter] <Char>] [-InputObject] <PSObject[]> [-Header <String[]>]
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> [[-Delimiter] <Char>]
[-Header <String[]>] [<CommonParameters>]
```

### UseCulture
```
ConvertFrom-Csv [-UseCulture] [-InputObject] <PSObject[]> [-Header <String[]>]
[-InformationAction <ActionPreference>] [-InformationVariable <String>] [<CommonParameters>]
```powershell
ConvertFrom-Csv [-InputObject] <PSObject[]> -UseCulture
[-Header <String[]>] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -144,7 +144,7 @@ Parameter Sets: Delimiter
Aliases:

Required: False
Position: 2
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down Expand Up @@ -175,33 +175,6 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -InformationAction
If you specify a character other than the delimiter used in the CSV strings, ConvertFrom-CSV cannot create objects from the CSV strings. Instead, it returns the strings.```yaml
Type: ActionPreference
Parameter Sets: (All)
Aliases: infa
Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -InformationVariable
If you specify a character other than the delimiter used in the CSV strings, ConvertFrom-CSV cannot create objects from the CSV strings. Instead, it returns the strings.```yaml
Type: String
Parameter Sets: (All)
Aliases: iv

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -InputObject
Specifies the CSV strings to be converted to objects.
Enter a variable that contains the CSV strings or type a command or expression that gets the CSV strings.
Expand All @@ -213,7 +186,7 @@ Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Expand Down