Copy files using Powershell
Revision as of 13:49, 19 June 2017 by Michael.mast (talk | contribs) (Created page with "==Server 2016 Core== <ref>https://msdn.microsoft.com/en-us/library/mt708806(v=vs.85).aspx</ref>Using WinRM and Powershell sessions seems to be the easiest method for this. <pr...")
Server 2016 Core
[1]Using WinRM and Powershell sessions seems to be the easiest method for this.
$session=get-pssession copy-item -tosession $session -path c:\local\path -destination c:\remote\path -recurse