Skip to content

Commit 703bce7

Browse files
authored
Merge pull request #1972 from sdwheeler/sdw-issue1672
fix -Path metadata to reflect wildcard support per Issue 1672
2 parents 9fea401 + 4c8ad5c commit 703bce7

File tree

5 files changed

+44
-78
lines changed

5 files changed

+44
-78
lines changed

reference/3.0/Microsoft.PowerShell.Management/Get-Item.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,11 @@ Gets the specified alternate NTFS file stream from the file. Enter the stream na
107107

108108
Stream is a dynamic parameter that the FileSystem provider adds to the Get-Item cmdlet. This parameter works only in file system drives.
109109

110-
This parameter is introduced in Windows PowerShell 3.0.```yaml
110+
This parameter is introduced in Windows PowerShell 3.0.
111+
```yaml
111112
Type: String[]
112113
Parameter Sets: (All)
113-
Aliases:
114+
Aliases:
114115

115116
Required: False
116117
Position: Named
@@ -131,7 +132,7 @@ This parameter is not supported by any providers installed with Windows PowerShe
131132
```yaml
132133
Type: PSCredential
133134
Parameter Sets: (All)
134-
Aliases:
135+
Aliases:
135136

136137
Required: False
137138
Position: Named
@@ -151,7 +152,7 @@ The Exclude parameter is effective only when the command includes the contents o
151152
```yaml
152153
Type: String[]
153154
Parameter Sets: (All)
154-
Aliases:
155+
Aliases:
155156

156157
Required: False
157158
Position: Named
@@ -169,7 +170,7 @@ Filters are more efficient than other parameters, because the provider applies t
169170
```yaml
170171
Type: String
171172
Parameter Sets: (All)
172-
Aliases:
173+
Aliases:
173174

174175
Required: False
175176
Position: Named
@@ -187,7 +188,7 @@ Even using the Force parameter, the cmdlet cannot override security restrictions
187188
```yaml
188189
Type: SwitchParameter
189190
Parameter Sets: (All)
190-
Aliases:
191+
Aliases:
191192

192193
Required: False
193194
Position: Named
@@ -207,7 +208,7 @@ The Include parameter is effective only when the command includes the contents o
207208
```yaml
208209
Type: String[]
209210
Parameter Sets: (All)
210-
Aliases:
211+
Aliases:
211212

212213
Required: False
213214
Position: Named
@@ -247,7 +248,7 @@ Use the wildcard character (*) to specify all the items in the current location.
247248
```yaml
248249
Type: String[]
249250
Parameter Sets: Path
250-
Aliases:
251+
Aliases:
251252

252253
Required: True
253254
Position: 1
@@ -297,7 +298,6 @@ The registry values are considered to be properties of the registry key.
297298
To list the providers available in your session, type "Get-PsProvider".
298299
For more information, see about_Providers.
299300
300-
*
301301
## RELATED LINKS
302302
303303
[Clear-Item](Clear-Item.md)

reference/4.0/Microsoft.PowerShell.Management/Get-Item.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ This parameter is not supported by any providers installed with Windows PowerShe
124124
```yaml
125125
Type: PSCredential
126126
Parameter Sets: (All)
127-
Aliases:
127+
Aliases:
128128

129129
Required: False
130130
Position: Named
@@ -144,7 +144,7 @@ The Exclude parameter is effective only when the command includes the contents o
144144
```yaml
145145
Type: String[]
146146
Parameter Sets: (All)
147-
Aliases:
147+
Aliases:
148148

149149
Required: False
150150
Position: Named
@@ -162,7 +162,7 @@ Filters are more efficient than other parameters, because the provider applies t
162162
```yaml
163163
Type: String
164164
Parameter Sets: (All)
165-
Aliases:
165+
Aliases:
166166

167167
Required: False
168168
Position: Named
@@ -180,7 +180,7 @@ Even using the Force parameter, the cmdlet cannot override security restrictions
180180
```yaml
181181
Type: SwitchParameter
182182
Parameter Sets: (All)
183-
Aliases:
183+
Aliases:
184184

185185
Required: False
186186
Position: Named
@@ -200,7 +200,7 @@ The Include parameter is effective only when the command includes the contents o
200200
```yaml
201201
Type: String[]
202202
Parameter Sets: (All)
203-
Aliases:
203+
Aliases:
204204

205205
Required: False
206206
Position: Named
@@ -240,7 +240,7 @@ Use the wildcard character (*) to specify all the items in the current location.
240240
```yaml
241241
Type: String[]
242242
Parameter Sets: Path
243-
Aliases:
243+
Aliases:
244244

245245
Required: True
246246
Position: 1
@@ -288,7 +288,7 @@ This parameter was introduced in Windows PowerShell 3.0.
288288
```yaml
289289
Type: String[]
290290
Parameter Sets: (All)
291-
Aliases:
291+
Aliases:
292292

293293
Required: False
294294
Position: Named
@@ -324,8 +324,6 @@ The registry values are considered to be properties of the registry key.
324324
To list the providers available in your session, type "Get-PsProvider".
325325
For more information, see about_Providers.
326326
327-
*
328-
329327
## RELATED LINKS
330328
331329
[Clear-Item](Clear-Item.md)

reference/5.0/Microsoft.PowerShell.Management/Get-Item.md

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ This cmdlet is used by Windows PowerShell providers to navigate through differen
3939
```
4040
PS C:\> Get-Item .
4141
42-
43-
44-
45-
46-
Directory: C:\
42+
Directory: C:\
4743
Mode LastWriteTime Length Name
4844
---- ------------- ------ ----
4945
d---- 7/26/2006 10:01 AM ps-test
@@ -56,16 +52,6 @@ The dot (.) represents the item at the current location (not its contents).
5652
```
5753
PS C:\> Get-Item *
5854
59-
60-
61-
62-
63-
64-
65-
66-
67-
68-
6955
Directory: C:\ps-test
7056
Mode LastWriteTime Length Name
7157
---- ------------- ------ ----
@@ -138,7 +124,7 @@ This parameter is not supported by any providers installed with Windows PowerShe
138124
```yaml
139125
Type: PSCredential
140126
Parameter Sets: (All)
141-
Aliases:
127+
Aliases:
142128

143129
Required: False
144130
Position: Named
@@ -158,7 +144,7 @@ The *Exclude* parameter is effective only when the command includes the contents
158144
```yaml
159145
Type: String[]
160146
Parameter Sets: (All)
161-
Aliases:
147+
Aliases:
162148

163149
Required: False
164150
Position: Named
@@ -176,7 +162,7 @@ Filters are more efficient than other parameters, because the provider applies t
176162
```yaml
177163
Type: String
178164
Parameter Sets: (All)
179-
Aliases:
165+
Aliases:
180166

181167
Required: False
182168
Position: Named
@@ -194,7 +180,7 @@ Even using the *Force* parameter, the cmdlet cannot override security restrictio
194180
```yaml
195181
Type: SwitchParameter
196182
Parameter Sets: (All)
197-
Aliases:
183+
Aliases:
198184

199185
Required: False
200186
Position: Named
@@ -214,7 +200,7 @@ The *Include* parameter is effective only when the command includes the contents
214200
```yaml
215201
Type: String[]
216202
Parameter Sets: (All)
217-
Aliases:
203+
Aliases:
218204

219205
Required: False
220206
Position: Named
@@ -254,13 +240,13 @@ Use the wildcard character (*) to specify all the items in the current location.
254240
```yaml
255241
Type: String[]
256242
Parameter Sets: Path
257-
Aliases:
243+
Aliases:
258244

259245
Required: True
260246
Position: 0
261247
Default value: None
262248
Accept pipeline input: True (ByPropertyName, ByValue)
263-
Accept wildcard characters: False
249+
Accept wildcard characters: True
264250
```
265251
266252
### -Stream
@@ -283,7 +269,7 @@ This parameter was introduced in Windows PowerShell 3.0.
283269
```yaml
284270
Type: String[]
285271
Parameter Sets: (All)
286-
Aliases:
272+
Aliases:
287273

288274
Required: False
289275
Position: Named
@@ -338,8 +324,6 @@ The registry values are considered to be properties of the registry key.
338324
To list the providers available in your session, type `Get-PsProvider`.
339325
For more information, see about_Providers.
340326

341-
*
342-
343327
## RELATED LINKS
344328

345329
[Clear-Item](Clear-Item.md)

reference/5.1/Microsoft.PowerShell.Management/Get-Item.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This cmdlet is used by Windows PowerShell providers to navigate through differen
3939
```
4040
PS C:\ps-test> Get-Item .
4141
42-
Directory: C:\
42+
Directory: C:\
4343
4444
4545
Mode LastWriteTime Length Name
@@ -218,7 +218,7 @@ This parameter is not supported by any providers installed with Windows PowerShe
218218
```yaml
219219
Type: PSCredential
220220
Parameter Sets: (All)
221-
Aliases:
221+
Aliases:
222222

223223
Required: False
224224
Position: Named
@@ -238,7 +238,7 @@ The *Exclude* parameter is effective only when the command includes the contents
238238
```yaml
239239
Type: String[]
240240
Parameter Sets: (All)
241-
Aliases:
241+
Aliases:
242242

243243
Required: False
244244
Position: Named
@@ -256,7 +256,7 @@ Filters are more efficient than other parameters, because the provider applies t
256256
```yaml
257257
Type: String
258258
Parameter Sets: (All)
259-
Aliases:
259+
Aliases:
260260

261261
Required: False
262262
Position: Named
@@ -274,7 +274,7 @@ Even using the *Force* parameter, the cmdlet cannot override security restrictio
274274
```yaml
275275
Type: SwitchParameter
276276
Parameter Sets: (All)
277-
Aliases:
277+
Aliases:
278278

279279
Required: False
280280
Position: Named
@@ -294,7 +294,7 @@ The *Include* parameter is effective only when the command includes the contents
294294
```yaml
295295
Type: String[]
296296
Parameter Sets: (All)
297-
Aliases:
297+
Aliases:
298298

299299
Required: False
300300
Position: Named
@@ -334,13 +334,13 @@ Use the wildcard character (*) to specify all the items in the current location.
334334
```yaml
335335
Type: String[]
336336
Parameter Sets: Path
337-
Aliases:
337+
Aliases:
338338

339339
Required: True
340340
Position: 0
341341
Default value: None
342342
Accept pipeline input: True (ByPropertyName, ByValue)
343-
Accept wildcard characters: False
343+
Accept wildcard characters: True
344344
```
345345
346346
### -Stream
@@ -363,7 +363,7 @@ This parameter was introduced in Windows PowerShell 3.0.
363363
```yaml
364364
Type: String[]
365365
Parameter Sets: (All)
366-
Aliases:
366+
Aliases:
367367

368368
Required: False
369369
Position: Named
@@ -418,8 +418,6 @@ The registry values are considered to be properties of the registry key.
418418
To list the providers available in your session, type `Get-PsProvider`.
419419
For more information, see about_Providers.
420420

421-
*
422-
423421
## RELATED LINKS
424422

425423
[Clear-Item](Clear-Item.md)

0 commit comments

Comments
 (0)