From 8f3c1b276cdf1f407815ee95a545139364bb3844 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Mon, 4 Nov 2024 09:20:29 -0600 Subject: [PATCH] Fix note in Example 2 --- reference/5.1/Microsoft.PowerShell.Management/Copy-Item.md | 4 ++-- reference/7.2/Microsoft.PowerShell.Management/Copy-Item.md | 4 ++-- reference/7.4/Microsoft.PowerShell.Management/Copy-Item.md | 4 ++-- reference/7.5/Microsoft.PowerShell.Management/Copy-Item.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/reference/5.1/Microsoft.PowerShell.Management/Copy-Item.md b/reference/5.1/Microsoft.PowerShell.Management/Copy-Item.md index e36af3649141..1848a66170c4 100644 --- a/reference/5.1/Microsoft.PowerShell.Management/Copy-Item.md +++ b/reference/5.1/Microsoft.PowerShell.Management/Copy-Item.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 02/14/2023 +ms.date: 11/04/2024 Yuponline version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-5.1&WT.mc_id=ps-gethelp schema: 2.0.0 title: Copy-Item @@ -91,7 +91,7 @@ Copy-Item -Path "C:\Logfiles\*" -Destination "C:\Drawings" -Recurse > [!NOTE] > If the path `C:\Drawings` doesn't exist the cmdlet copies all the files from the `Logfiles` -> folder into a single file `C:\Drawings`. +> folder tree into a single folder `C:\Drawings`, overwriting any files with the same name. ### Example 3: Copy directory and contents to a new directory diff --git a/reference/7.2/Microsoft.PowerShell.Management/Copy-Item.md b/reference/7.2/Microsoft.PowerShell.Management/Copy-Item.md index a62af49c3e00..4e0910047e92 100644 --- a/reference/7.2/Microsoft.PowerShell.Management/Copy-Item.md +++ b/reference/7.2/Microsoft.PowerShell.Management/Copy-Item.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 02/14/2023 +ms.date: 11/04/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.2&WT.mc_id=ps-gethelp schema: 2.0.0 title: Copy-Item @@ -90,7 +90,7 @@ Copy-Item -Path "C:\Logfiles\*" -Destination "C:\Drawings" -Recurse > [!NOTE] > If the path `C:\Drawings` doesn't exist the cmdlet copies all the files from the `Logfiles` -> folder into a single file `C:\Drawings`. +> folder tree into a single folder `C:\Drawings`, overwriting any files with the same name. ### Example 3: Copy directory and contents to a new directory diff --git a/reference/7.4/Microsoft.PowerShell.Management/Copy-Item.md b/reference/7.4/Microsoft.PowerShell.Management/Copy-Item.md index 751768ec9117..1a834211b96d 100644 --- a/reference/7.4/Microsoft.PowerShell.Management/Copy-Item.md +++ b/reference/7.4/Microsoft.PowerShell.Management/Copy-Item.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 02/14/2023 +ms.date: 11/04/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.4&WT.mc_id=ps-gethelp schema: 2.0.0 title: Copy-Item @@ -90,7 +90,7 @@ Copy-Item -Path "C:\Logfiles\*" -Destination "C:\Drawings" -Recurse > [!NOTE] > If the path `C:\Drawings` doesn't exist the cmdlet copies all the files from the `Logfiles` -> folder into a single file `C:\Drawings`. +> folder tree into a single folder `C:\Drawings`, overwriting any files with the same name. ### Example 3: Copy directory and contents to a new directory diff --git a/reference/7.5/Microsoft.PowerShell.Management/Copy-Item.md b/reference/7.5/Microsoft.PowerShell.Management/Copy-Item.md index 063a1799131f..4f9c356f0eca 100644 --- a/reference/7.5/Microsoft.PowerShell.Management/Copy-Item.md +++ b/reference/7.5/Microsoft.PowerShell.Management/Copy-Item.md @@ -2,7 +2,7 @@ external help file: Microsoft.PowerShell.Commands.Management.dll-Help.xml Locale: en-US Module Name: Microsoft.PowerShell.Management -ms.date: 02/14/2023 +ms.date: 11/04/2024 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.5&WT.mc_id=ps-gethelp schema: 2.0.0 title: Copy-Item @@ -90,7 +90,7 @@ Copy-Item -Path "C:\Logfiles\*" -Destination "C:\Drawings" -Recurse > [!NOTE] > If the path `C:\Drawings` doesn't exist the cmdlet copies all the files from the `Logfiles` -> folder into a single file `C:\Drawings`. +> folder tree into a single folder `C:\Drawings`, overwriting any files with the same name. ### Example 3: Copy directory and contents to a new directory