File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
5.1/Microsoft.PowerShell.Management
7.2/Microsoft.PowerShell.Management
7.4/Microsoft.PowerShell.Management
7.5/Microsoft.PowerShell.Management Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Management.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Management
5- ms.date : 02/14/2023
5+ ms.date : 11/04/2024
66Yuponline version : https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-5.1&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : 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
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Management.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Management
5- ms.date : 02/14/2023
5+ ms.date : 11/04/2024
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.2&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : 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
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Management.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Management
5- ms.date : 02/14/2023
5+ ms.date : 11/04/2024
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.4&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : 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
Original file line number Diff line number Diff line change 22external help file : Microsoft.PowerShell.Commands.Management.dll-Help.xml
33Locale : en-US
44Module Name : Microsoft.PowerShell.Management
5- ms.date : 02/14/2023
5+ ms.date : 11/04/2024
66online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.management/copy-item?view=powershell-7.5&WT.mc_id=ps-gethelp
77schema : 2.0.0
88title : 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
You can’t perform that action at this time.
0 commit comments