PowerShell Copy File From One Location to Another

Here is a powershell script that copy files from one location to another in same computer/machine.

$CurrentLocationandFileName = "C:\Users\Administrator\Desktop\New.txt"

$DestinationLocation = "D:\NewFolder"

copy $CurrentLocationandFileName -Destination $DestinationLocation

Comments

Popular posts from this blog

C# Copy files from one server to another

Suppress StyleCop SA1600

Telerik Rad Grid Sorting