Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

File Copying with PowerShell: SMB Not Necessary

$
0
0

One of the cool features of the April 2015 WMF preview was a simple addition to the Copy-Item cmdlet. What was once just a simple SMB copy, Copy-Item now has a -FromSession and -ToSession parameter.  This now allows you to copy files over WinRM without the need for SMB. At first I thought, “Why the big fuss? Just use SMB. It’s faster”. Then, I came across a problem in my consulting gig. I needed to automate the deployment of VMs into a locked-down DMZ environment.  The only port that was allowed to be opened was for WinRM. One small problem though.

Read More 


Viewing all articles
Browse latest Browse all 6937

Trending Articles