During my day-to-day job as Sys Admin, I come across or create handy PowerShell scripts that I want to keep for future use. I’ll post these here so others can use them as well.

These scripts won’t be perfect, but they have served a purpose at the time I’ve made / used them.

To start off with a very basic one:
Starting a SSH session via Terminal or PowerShell.

ssh username@hostname or ip

For example:
ssh [email protected]

For a custom ssh port use the -p flag

ssh -p 2222 [email protected]