Having trouble with transferring files with (cp) usage on Powershell. I am not able to transfer from (ex: Desktop to Temp files). Any ideas?
This will do it:
cp $userprofile\desktop\your_file $temp
Replace your_file with the name (including wildcards if necessary) of your file(s).