Sometimes I need to re-use old PowerShell snippets, but I had difficulties to find it out again, so it might be a good idea to put all of this here.


Connecting to remote hosts without dropping passwords clear text inside scripts

First thing, I encrypted the password in a text file for later use, by

This way, I can connect to remote systems without having to specify clear passwords, like this:


Copy files using BITS

Copy big files between systems without affecting too much to network performance or consuming bandwidth it’s a very important thing, and I had good results with BITS


You can even wait until finishing the copy

Leave a Reply

%d bloggers like this: