Skip to content

Instantly share code, notes, and snippets.

View tommyholen's full-sized avatar

Tommy Holen tommyholen

  • Tieto
  • Fornebu
View GitHub Profile
@tommyholen
tommyholen / file_copy_psremote.ps1
Last active April 17, 2026 06:37
Copy files over PS Remoting
$Session = New-PSSession -ComputerName "Server01" -Credential "Contoso\User01"
Copy-Item "D:\Folder001\test.log" -Destination "C:\Folder001_Copy\" -ToSession $Session