Skip to content

Commit 11445c1

Browse files
authored
Remove abiguously confusing statement. (#12594)
1 parent e567b54 commit 11445c1

File tree

4 files changed

+16
-28
lines changed

4 files changed

+16
-28
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 08/09/2024
5+
ms.date: 12/17/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -44,9 +44,6 @@ container, it gets the items inside the container, known as child items. You can
4444
parameter to get items in all child containers and use the **Depth** parameter to limit the number
4545
of levels to recurse.
4646

47-
`Get-ChildItem` doesn't display empty directories. When a `Get-ChildItem` command includes the
48-
**Depth** or **Recurse** parameters, empty directories aren't included in the output.
49-
5047
The `Get-ChildItem` cmdlet is designed to work with the items exposed by any provider. For example,
5148
items can be a file system file or directory, registry hive, or a certificate store. To list the
5249
providers available in your session, use the `Get-PSProvider` command. Some parameters are only

reference/7.4/Microsoft.PowerShell.Management/Get-ChildItem.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 02/26/2025
5+
ms.date: 12/17/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -42,9 +42,6 @@ container, it gets the items inside the container, known as child items. You can
4242
parameter to get items in all child containers and use the **Depth** parameter to limit the number
4343
of levels to recurse.
4444

45-
`Get-ChildItem` doesn't display empty directories. When a `Get-ChildItem` command includes the
46-
**Depth** or **Recurse** parameters, empty directories aren't included in the output.
47-
4845
The `Get-ChildItem` cmdlet is designed to work with the items exposed by any provider. For example,
4946
items can be a file system file or directory, registry hive, or a certificate store. To list the
5047
providers available in your session, use the `Get-PSProvider` command. Some parameters are only
@@ -55,9 +52,9 @@ available for a specific provider. For more information, see
5552

5653
### Example 1: Get child items from a file system directory
5754

58-
This example gets the child items from a file system directory. The filenames and subdirectory
59-
names are displayed. For empty locations, the command doesn't return any output and returns to the
60-
PowerShell prompt.
55+
This example gets the child items from a file system directory. The filenames and subdirectory names
56+
are displayed. For empty locations (directories or folders), the command doesn't return any output
57+
and returns to the PowerShell prompt.
6158

6259
The `Get-ChildItem` cmdlet uses the **Path** parameter to specify the directory `C:\Test`.
6360
`Get-ChildItem` displays the files and directories in the PowerShell console.
@@ -90,7 +87,7 @@ as follows:
9087
- `s` (system)
9188

9289
For more information about the mode flags, see
93-
[about_FileSystem_Provider](../Microsoft.PowerShell.Core/About/about_Filesystem_Provider.md#attributes-flagsexpression).
90+
[about_FileSystem_Provider](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md#attributes-flagsexpression).
9491

9592
### Example 2: Get child item names in a directory
9693

reference/7.5/Microsoft.PowerShell.Management/Get-ChildItem.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 02/26/2025
5+
ms.date: 12/17/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -42,9 +42,6 @@ container, it gets the items inside the container, known as child items. You can
4242
parameter to get items in all child containers and use the **Depth** parameter to limit the number
4343
of levels to recurse.
4444

45-
`Get-ChildItem` doesn't display empty directories. When a `Get-ChildItem` command includes the
46-
**Depth** or **Recurse** parameters, empty directories aren't included in the output.
47-
4845
The `Get-ChildItem` cmdlet is designed to work with the items exposed by any provider. For example,
4946
items can be a file system file or directory, registry hive, or a certificate store. To list the
5047
providers available in your session, use the `Get-PSProvider` command. Some parameters are only
@@ -55,9 +52,9 @@ available for a specific provider. For more information, see
5552

5653
### Example 1: Get child items from a file system directory
5754

58-
This example gets the child items from a file system directory. The filenames and subdirectory
59-
names are displayed. For empty locations, the command doesn't return any output and returns to the
60-
PowerShell prompt.
55+
This example gets the child items from a file system directory. The filenames and subdirectory names
56+
are displayed. For empty locations (directories or folders), the command doesn't return any output
57+
and returns to the PowerShell prompt.
6158

6259
The `Get-ChildItem` cmdlet uses the **Path** parameter to specify the directory `C:\Test`.
6360
`Get-ChildItem` displays the files and directories in the PowerShell console.

reference/7.6/Microsoft.PowerShell.Management/Get-ChildItem.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Management
5-
ms.date: 02/26/2025
5+
ms.date: 12/17/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.6&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -42,9 +42,6 @@ container, it gets the items inside the container, known as child items. You can
4242
parameter to get items in all child containers and use the **Depth** parameter to limit the number
4343
of levels to recurse.
4444

45-
`Get-ChildItem` doesn't display empty directories. When a `Get-ChildItem` command includes the
46-
**Depth** or **Recurse** parameters, empty directories aren't included in the output.
47-
4845
The `Get-ChildItem` cmdlet is designed to work with the items exposed by any provider. For example,
4946
items can be a file system file or directory, registry hive, or a certificate store. To list the
5047
providers available in your session, use the `Get-PSProvider` command. Some parameters are only
@@ -55,9 +52,9 @@ available for a specific provider. For more information, see
5552

5653
### Example 1: Get child items from a file system directory
5754

58-
This example gets the child items from a file system directory. The filenames and subdirectory
59-
names are displayed. For empty locations, the command doesn't return any output and returns to the
60-
PowerShell prompt.
55+
This example gets the child items from a file system directory. The filenames and subdirectory names
56+
are displayed. For empty locations (directories or folders), the command doesn't return any output
57+
and returns to the PowerShell prompt.
6158

6259
The `Get-ChildItem` cmdlet uses the **Path** parameter to specify the directory `C:\Test`.
6360
`Get-ChildItem` displays the files and directories in the PowerShell console.
@@ -90,7 +87,7 @@ as follows:
9087
- `s` (system)
9188

9289
For more information about the mode flags, see
93-
[about_FileSystem_Provider](../Microsoft.PowerShell.Core/About/about_Filesystem_Provider.md#attributes-flagsexpression).
90+
[about_FileSystem_Provider](../Microsoft.PowerShell.Core/About/about_FileSystem_Provider.md#attributes-flagsexpression).
9491

9592
### Example 2: Get child item names in a directory
9693

@@ -995,7 +992,7 @@ The cmdlet outputs this type when accessing the `Env:` drive.
995992

996993
### System.IO.FileInfo
997994

998-
The cmdlet outputs these types when accessing the Filesystem drives.
995+
The cmdlet outputs these types when accessing the FileSystem drives.
999996

1000997
### System.Management.Automation.FunctionInfo
1001998

0 commit comments

Comments
 (0)