-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
See Example number four on the Get-ChildItem documentation page.
When the Include parameter is used, the Path parameter needs a trailing asterisk (
*) wildcard to specify the directory's contents. For example,-Path C:\Test\*.
Is this information still correct?
Because it seems to work if I only specify "E:\Test\", for example, without the trailing asterisk.
Seems to work, don't know why. Maybe this is a bit outdated?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: afee1cf3-2e19-4a97-3794-815d54ef0097
- Version Independent ID: ffa98c5b-6e0a-dc99-94b2-2fddc3f78da4
- Content: Get-ChildItem (Microsoft.PowerShell.Management)
- Content Source: reference/6/Microsoft.PowerShell.Management/Get-ChildItem.md
- Product: powershell
- Technology: powershell-cmdlets
- GitHub Login: @daxian-dbw
- Microsoft Alias: dongbow
Metadata
Metadata
Assignees
Labels
No labels