Skip to content

Commit 9603e0f

Browse files
matt9ucciSean Wheeler
authored andcommitted
Fix parameter's position in Tee-Object.md (#1970)
1 parent 4dfa90f commit 9603e0f

File tree

5 files changed

+33
-48
lines changed

5 files changed

+33
-48
lines changed

reference/3.0/Microsoft.PowerShell.Utility/Tee-Object.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ Saves command output in a file or variable and also sends it down the pipeline.
1515

1616
### File (Default)
1717
```
18-
Tee-Object [-InputObject <PSObject>] [-FilePath] <String> [-Append] [<CommonParameters>]
18+
Tee-Object [-FilePath] <String> [-InputObject <PSObject>] [-Append]
19+
[<CommonParameters>]
1920
```
2021

2122
### LiteralFile
2223
```
23-
Tee-Object [-InputObject <PSObject>] -LiteralPath <String> [<CommonParameters>]
24+
Tee-Object -LiteralPath <String> [-InputObject <PSObject>]
25+
[<CommonParameters>]
2426
```
2527

2628
### Variable
2729
```
28-
Tee-Object [-InputObject <PSObject>] -Variable <String> [<CommonParameters>]
30+
Tee-Object -Variable <String> [-InputObject <PSObject>]
31+
[<CommonParameters>]
2932
```
3033

3134
## DESCRIPTION
@@ -103,7 +106,7 @@ Parameter Sets: File
103106
Aliases:
104107

105108
Required: True
106-
Position: 1
109+
Position: 0
107110
Default value: None
108111
Accept pipeline input: False
109112
Accept wildcard characters: True

reference/4.0/Microsoft.PowerShell.Utility/Tee-Object.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,20 @@ Saves command output in a file or variable and also sends it down the pipeline.
1717

1818
### File (Default)
1919
```
20-
Tee-Object [-InputObject <PSObject>] [-FilePath] <String> [-Append] [<CommonParameters>]
20+
Tee-Object [-FilePath] <String> [-InputObject <PSObject>] [-Append]
21+
[<CommonParameters>]
2122
```
2223

2324
### LiteralFile
2425
```
25-
Tee-Object [-InputObject <PSObject>] -LiteralPath <String> [<CommonParameters>]
26+
Tee-Object -LiteralPath <String> [-InputObject <PSObject>]
27+
[<CommonParameters>]
2628
```
2729

2830
### Variable
2931
```
30-
Tee-Object [-InputObject <PSObject>] -Variable <String> [<CommonParameters>]
32+
Tee-Object -Variable <String> [-InputObject <PSObject>]
33+
[<CommonParameters>]
3134
```
3235

3336
## DESCRIPTION
@@ -109,7 +112,7 @@ Parameter Sets: File
109112
Aliases:
110113

111114
Required: True
112-
Position: 1
115+
Position: 0
113116
Default value: None
114117
Accept pipeline input: False
115118
Accept wildcard characters: True

reference/5.0/Microsoft.PowerShell.Utility/Tee-Object.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,20 @@ Saves command output in a file or variable and also sends it down the pipeline.
1717

1818
### File (Default)
1919
```
20-
Tee-Object [-InputObject <PSObject>] [-FilePath] <String> [-Append] [<CommonParameters>]
20+
Tee-Object [-FilePath] <String> [-InputObject <PSObject>] [-Append]
21+
[<CommonParameters>]
2122
```
2223

2324
### LiteralFile
2425
```
25-
Tee-Object [-InputObject <PSObject>] -LiteralPath <String> [<CommonParameters>]
26+
Tee-Object -LiteralPath <String> [-InputObject <PSObject>]
27+
[<CommonParameters>]
2628
```
2729

2830
### Variable
2931
```
30-
Tee-Object [-InputObject <PSObject>] -Variable <String> [<CommonParameters>]
32+
Tee-Object -Variable <String> [-InputObject <PSObject>]
33+
[<CommonParameters>]
3134
```
3235

3336
## DESCRIPTION

reference/5.1/Microsoft.PowerShell.Utility/Tee-Object.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,20 @@ Saves command output in a file or variable and also sends it down the pipeline.
1717

1818
### File (Default)
1919
```
20-
Tee-Object [-InputObject <PSObject>] [-FilePath] <String> [-Append] [<CommonParameters>]
20+
Tee-Object [-FilePath] <String> [-InputObject <PSObject>] [-Append]
21+
[<CommonParameters>]
2122
```
2223

2324
### LiteralFile
2425
```
25-
Tee-Object [-InputObject <PSObject>] -LiteralPath <String> [<CommonParameters>]
26+
Tee-Object -LiteralPath <String> [-InputObject <PSObject>]
27+
[<CommonParameters>]
2628
```
2729

2830
### Variable
2931
```
30-
Tee-Object [-InputObject <PSObject>] -Variable <String> [<CommonParameters>]
32+
Tee-Object -Variable <String> [-InputObject <PSObject>]
33+
[<CommonParameters>]
3134
```
3235

3336
## DESCRIPTION

reference/6/Microsoft.PowerShell.Utility/Tee-Object.md

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ Saves command output in a file or variable and also sends it down the pipeline.
1717

1818
### File (Default)
1919
```
20-
Tee-Object [-InputObject <PSObject>] [-FilePath] <String> [-Append] [-InformationAction <ActionPreference>]
21-
[-InformationVariable <String>] [<CommonParameters>]
20+
Tee-Object [-FilePath] <String> [-InputObject <PSObject>] [-Append]
21+
[<CommonParameters>]
2222
```
2323

2424
### LiteralFile
2525
```
26-
Tee-Object [-InputObject <PSObject>] -LiteralPath <String> [-InformationAction <ActionPreference>]
27-
[-InformationVariable <String>] [<CommonParameters>]
26+
Tee-Object -LiteralPath <String> [-InputObject <PSObject>]
27+
[<CommonParameters>]
2828
```
2929

3030
### Variable
3131
```
32-
Tee-Object [-InputObject <PSObject>] -Variable <String> [-InformationAction <ActionPreference>]
33-
[-InformationVariable <String>] [<CommonParameters>]
32+
Tee-Object -Variable <String> [-InputObject <PSObject>]
33+
[<CommonParameters>]
3434
```
3535

3636
## DESCRIPTION
@@ -109,34 +109,7 @@ Parameter Sets: File
109109
Aliases:
110110

111111
Required: True
112-
Position: 1
113-
Default value: None
114-
Accept pipeline input: False
115-
Accept wildcard characters: False
116-
```
117-
118-
### -InformationAction
119-
This parameter is introduced in Windows PowerShell 3.0.```yaml
120-
Type: ActionPreference
121-
Parameter Sets: (All)
122-
Aliases: infa
123-
Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend
124-
125-
Required: False
126-
Position: Named
127-
Default value: None
128-
Accept pipeline input: False
129-
Accept wildcard characters: False
130-
```
131-
132-
### -InformationVariable
133-
This parameter is introduced in Windows PowerShell 3.0.```yaml
134-
Type: String
135-
Parameter Sets: (All)
136-
Aliases: iv
137-
138-
Required: False
139-
Position: Named
112+
Position: 0
140113
Default value: None
141114
Accept pipeline input: False
142115
Accept wildcard characters: False

0 commit comments

Comments
 (0)