Recently at work, I found myself in the situation where I needed to copy some
file from my workstation to a jump box. Now of course, on Linux I’d just use
rsync
or scp
. But our IT doesn’t like provisioning Linux boxes and therefore
uses Windows for jump servers too, so no luck here. Luckily, I could convince
them to turn on and allow PowerShell Remoting, so with some simple scripts I can
still easily copy files over without using SMB. Here’s how.