Copy To or From a PowerShell Session

Copy-Item now lets you copy to or from a PowerShell sessions in WMF5!     Very cool. Let's see it in action. First of all, copy some local files to a remote session: $TargetSession = New-PSSession -ComputerName HALOMEM03 Copy-Item -ToSession $TargetSession -Path "C:\Users\Administrator\desktop\scripts\" -Destination "C:\Users\administrator.HALO\desktop\" -Recurse     Now, copy some files from a remote…

1