I need a way to copy file to local disk from a remote PC using Powershell v2.0, trying with admin rights of that remote PC. By means of below cmdlet we can copy a file:
Copy-Item -Path C:\somefile.txt -Destination c:\someotherfile.txt
But my question is how to specify my local PC path as Destination path or the remote PC path as the source path in the above cmdlet? How to specify UNC Path for source or destination paths in above cmdlet?