#copies the contents of a folder to another folder
$session = New-PSSession -ComputerName <computername>
Copy-Item -path <Path> -Destination <Path> -Recurse -ToSession $session
W for Windows :-)
#copies the contents of a folder to another folder
$session = New-PSSession -ComputerName <computername>
Copy-Item -path <Path> -Destination <Path> -Recurse -ToSession $session