Powershell – Copy File

Cmdlet Copy-Item¬†cmdlet is used to copy a file by passing the path of the file to be copied and destination path where the file is to be copied. Example 1 In this example, we’ll copy a folder from D:\Temp\Test Folder\Test1.txt to D:\Temp\Test2 Type the following command in PowerShell ISE Console Copy-Item ‘D:\temp\Test Folder\Test File.txt’ ‘D:\temp\Test … Read more