Skip to content

Commit

Permalink
Use relative path in a Get-ChildItem example (#10989)
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi authored Mar 28, 2024
1 parent 155a783 commit 89a9e4a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 11/13/2023
ms.date: 03/28/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Get-ChildItem
Expand Down Expand Up @@ -153,7 +153,7 @@ This example displays `.txt` files that are located in the current directory and
subdirectories.

```powershell
Get-ChildItem -Path C:\Test\*.txt -Recurse -Force
Get-ChildItem -Path .\*.txt -Recurse -Force
```

```Output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 06/14/2023
ms.date: 03/28/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Get-ChildItem
Expand Down Expand Up @@ -152,7 +152,7 @@ This example displays `.txt` files that are located in the current directory and
subdirectories.

```powershell
Get-ChildItem -Path C:\Test\*.txt -Recurse -Force
Get-ChildItem -Path .\*.txt -Recurse -Force
```

```Output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 06/14/2023
ms.date: 03/28/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.3&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Get-ChildItem
Expand Down Expand Up @@ -152,7 +152,7 @@ This example displays `.txt` files that are located in the current directory and
subdirectories.

```powershell
Get-ChildItem -Path C:\Test\*.txt -Recurse -Force
Get-ChildItem -Path .\*.txt -Recurse -Force
```

```Output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 06/14/2023
ms.date: 03/28/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Get-ChildItem
Expand Down Expand Up @@ -152,7 +152,7 @@ This example displays `.txt` files that are located in the current directory and
subdirectories.

```powershell
Get-ChildItem -Path C:\Test\*.txt -Recurse -Force
Get-ChildItem -Path .\*.txt -Recurse -Force
```

```Output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml
Locale: en-US
Module Name: Microsoft.PowerShell.Management
ms.date: 06/14/2023
ms.date: 03/28/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/get-childitem?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Get-ChildItem
Expand Down Expand Up @@ -152,7 +152,7 @@ This example displays `.txt` files that are located in the current directory and
subdirectories.

```powershell
Get-ChildItem -Path C:\Test\*.txt -Recurse -Force
Get-ChildItem -Path .\*.txt -Recurse -Force
```

```Output
Expand Down

0 comments on commit 89a9e4a

Please sign in to comment.