Ngô Quốc Huy
New member
How do I copy a file in PowerShell?
Answer
To copy items in PowerShell, one needs to
use the Copy-Item cmdlet. When you use the Copy-Item, you need to provide the source file name and the destination file or folder name. In the below example, we will copy a single file from the D:Temp to the D:Temp1 location.
Answer
To copy items in PowerShell, one needs to
use the Copy-Item cmdlet. When you use the Copy-Item, you need to provide the source file name and the destination file or folder name. In the below example, we will copy a single file from the D:Temp to the D:Temp1 location.