title: How to copy files from another computer using PowerShell?
body: <p>I'm trying to copy a file that is inside "C:/tempo/text.txt" from Machine B to my machine A "C:/tempo/copy.txt", I managed to copy files that are on the same computer however I need to copy from another machine... The problem is that I don't even know how to start, I thought that putting the IP address would help (saw an example) however it didn't work.
  Does anyone here know how to do it? Or even sharing a guide to help me
  Thank you!</p>
  
  <p>this is so far what I managed to do (using the same computer)</p>
  
  <p><code>copy-item -path "C:\text.txt" -destination "C:\tempo\Moved_$($fileName).txt"</code></p>
  
  <p>and the example that didn't work</p>
  
  <p><code>Copy-Item -Path \\172.16.100.248\c$\tempo\test.txt -Destination C:\tempo\test.txt;</code></p>