Skip to content

Commit 6b0797c

Browse files
authored
Fix note in Example 2 (#11507)
1 parent 03ce106 commit 6b0797c

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

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

Lines changed: 2 additions & 2 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/14/2023
5+
ms.date: 11/04/2024
66
Yuponline version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Copy-Item
@@ -91,7 +91,7 @@ Copy-Item -Path "C:\Logfiles\*" -Destination "C:\Drawings" -Recurse
9191

9292
> [!NOTE]
9393
> If the path `C:\Drawings` doesn't exist the cmdlet copies all the files from the `Logfiles`
94-
> folder into a single file `C:\Drawings`.
94+
> folder tree into a single folder `C:\Drawings`, overwriting any files with the same name.
9595
9696
### Example 3: Copy directory and contents to a new directory
9797

reference/7.2/Microsoft.PowerShell.Management/Copy-Item.md

Lines changed: 2 additions & 2 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/14/2023
5+
ms.date: 11/04/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.2&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Copy-Item
@@ -90,7 +90,7 @@ Copy-Item -Path "C:\Logfiles\*" -Destination "C:\Drawings" -Recurse
9090

9191
> [!NOTE]
9292
> If the path `C:\Drawings` doesn't exist the cmdlet copies all the files from the `Logfiles`
93-
> folder into a single file `C:\Drawings`.
93+
> folder tree into a single folder `C:\Drawings`, overwriting any files with the same name.
9494
9595
### Example 3: Copy directory and contents to a new directory
9696

reference/7.4/Microsoft.PowerShell.Management/Copy-Item.md

Lines changed: 2 additions & 2 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/14/2023
5+
ms.date: 11/04/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Copy-Item
@@ -90,7 +90,7 @@ Copy-Item -Path "C:\Logfiles\*" -Destination "C:\Drawings" -Recurse
9090

9191
> [!NOTE]
9292
> If the path `C:\Drawings` doesn't exist the cmdlet copies all the files from the `Logfiles`
93-
> folder into a single file `C:\Drawings`.
93+
> folder tree into a single folder `C:\Drawings`, overwriting any files with the same name.
9494
9595
### Example 3: Copy directory and contents to a new directory
9696

reference/7.5/Microsoft.PowerShell.Management/Copy-Item.md

Lines changed: 2 additions & 2 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/14/2023
5+
ms.date: 11/04/2024
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
title: Copy-Item
@@ -90,7 +90,7 @@ Copy-Item -Path "C:\Logfiles\*" -Destination "C:\Drawings" -Recurse
9090

9191
> [!NOTE]
9292
> If the path `C:\Drawings` doesn't exist the cmdlet copies all the files from the `Logfiles`
93-
> folder into a single file `C:\Drawings`.
93+
> folder tree into a single folder `C:\Drawings`, overwriting any files with the same name.
9494
9595
### Example 3: Copy directory and contents to a new directory
9696

0 commit comments

Comments
 (0)