Skip to content

Commit 92e1b1b

Browse files
matt9ucciSean Wheeler
authored andcommitted
Fix parameter's position in Join-Path.md (#1909)
1 parent c6f3f13 commit 92e1b1b

File tree

5 files changed

+23
-50
lines changed

5 files changed

+23
-50
lines changed

reference/3.0/Microsoft.PowerShell.Management/Join-Path.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Combines a path and a child path into a single path.
1414
The provider supplies the path delimiters.
1515
## SYNTAX
1616

17-
```
18-
Join-Path [-Path] <String[]> [-ChildPath] <String> [-Resolve] [-Credential <PSCredential>] [-UseTransaction]
19-
[<CommonParameters>]
17+
```powershell
18+
Join-Path [-Path] <String[]> [-ChildPath] <String>
19+
[-Resolve] [-Credential <PSCredential>] [-UseTransaction] [<CommonParameters>]
2020
```
2121

2222
## DESCRIPTION
@@ -76,7 +76,7 @@ Parameter Sets: (All)
7676
Aliases:
7777

7878
Required: True
79-
Position: 2
79+
Position: 1
8080
Default value: None
8181
Accept pipeline input: True (ByPropertyName)
8282
Accept wildcard characters: True
@@ -117,7 +117,7 @@ Parameter Sets: (All)
117117
Aliases: PSPath
118118

119119
Required: True
120-
Position: 1
120+
Position: 0
121121
Default value: None
122122
Accept pipeline input: True (ByPropertyName, ByValue)
123123
Accept wildcard characters: True

reference/4.0/Microsoft.PowerShell.Management/Join-Path.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ The provider supplies the path delimiters.
1616

1717
## SYNTAX
1818

19-
```
20-
Join-Path [-Path] <String[]> [-ChildPath] <String> [-Resolve] [-Credential <PSCredential>] [-UseTransaction]
21-
[<CommonParameters>]
19+
```powershell
20+
Join-Path [-Path] <String[]> [-ChildPath] <String>
21+
[-Resolve] [-Credential <PSCredential>] [-UseTransaction] [<CommonParameters>]
2222
```
2323

2424
## DESCRIPTION
@@ -84,7 +84,7 @@ Parameter Sets: (All)
8484
Aliases:
8585

8686
Required: True
87-
Position: 2
87+
Position: 1
8888
Default value: None
8989
Accept pipeline input: True (ByPropertyName)
9090
Accept wildcard characters: True
@@ -125,7 +125,7 @@ Parameter Sets: (All)
125125
Aliases: PSPath
126126

127127
Required: True
128-
Position: 1
128+
Position: 0
129129
Default value: None
130130
Accept pipeline input: True (ByPropertyName, ByValue)
131131
Accept wildcard characters: True

reference/5.0/Microsoft.PowerShell.Management/Join-Path.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Combines a path and a child path into a single path.
1515

1616
## SYNTAX
1717

18-
```
19-
Join-Path [-Path] <String[]> [-ChildPath] <String> [-Resolve] [-Credential <PSCredential>] [-UseTransaction]
20-
[<CommonParameters>]
18+
```powershell
19+
Join-Path [-Path] <String[]> [-ChildPath] <String>
20+
[-Resolve] [-Credential <PSCredential>] [-UseTransaction] [<CommonParameters>]
2121
```
2222

2323
## DESCRIPTION

reference/5.1/Microsoft.PowerShell.Management/Join-Path.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ Combines a path and a child path into a single path.
1515

1616
## SYNTAX
1717

18-
```
19-
Join-Path [-Path] <String[]> [-ChildPath] <String> [-Resolve] [-Credential <PSCredential>] [-UseTransaction]
20-
[<CommonParameters>]
18+
```powershell
19+
Join-Path [-Path] <String[]> [-ChildPath] <String>
20+
[-Resolve] [-Credential <PSCredential>] [-UseTransaction] [<CommonParameters>]
2121
```
2222

2323
## DESCRIPTION

reference/6/Microsoft.PowerShell.Management/Join-Path.md

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ Combines a path and a child path into a single path.
1515

1616
## SYNTAX
1717

18-
```
19-
Join-Path [-Path] <String[]> [-ChildPath] <String> [-AdditionalChildPath <String[]>] [-Resolve]
20-
[-Credential <PSCredential>] [-InformationAction <ActionPreference>] [-InformationVariable <String>]
21-
[-UseTransaction] [<CommonParameters>]
18+
```powershell
19+
Join-Path [-Path] <String[]> [-ChildPath] <String>
20+
[[-AdditionalChildPath] <String[]>]
21+
[-Resolve] [-Credential <PSCredential>] [-UseTransaction] [<CommonParameters>]
2222
```
2323

2424
## DESCRIPTION
@@ -82,7 +82,7 @@ Parameter Sets: (All)
8282
Aliases:
8383

8484
Required: False
85-
Position: Named
85+
Position: 2
8686
Default value: None
8787
Accept pipeline input: True (ByPropertyName)
8888
Accept wildcard characters: False
@@ -99,7 +99,7 @@ Parameter Sets: (All)
9999
Aliases:
100100

101101
Required: True
102-
Position: 2
102+
Position: 1
103103
Default value: None
104104
Accept pipeline input: True (ByPropertyName)
105105
Accept wildcard characters: False
@@ -127,33 +127,6 @@ Accept pipeline input: True (ByPropertyName)
127127
Accept wildcard characters: False
128128
```
129129
130-
### -InformationAction
131-
```yaml
132-
Type: ActionPreference
133-
Parameter Sets: (All)
134-
Aliases: infa
135-
Accepted values: SilentlyContinue, Stop, Continue, Inquire, Ignore, Suspend
136-
137-
Required: False
138-
Position: Named
139-
Default value: None
140-
Accept pipeline input: False
141-
Accept wildcard characters: False
142-
```
143-
144-
### -InformationVariable
145-
```yaml
146-
Type: String
147-
Parameter Sets: (All)
148-
Aliases: iv
149-
150-
Required: False
151-
Position: Named
152-
Default value: None
153-
Accept pipeline input: False
154-
Accept wildcard characters: False
155-
```
156-
157130
### -Path
158131
Specifies the main path (or paths) to which the child-path is appended.
159132
Wildcards are permitted.
@@ -167,7 +140,7 @@ Parameter Sets: (All)
167140
Aliases: PSPath
168141

169142
Required: True
170-
Position: 1
143+
Position: 0
171144
Default value: None
172145
Accept pipeline input: True (ByPropertyName, ByValue)
173146
Accept wildcard characters: False

0 commit comments

Comments
 (0)