These are some PowerShell snippets that I use to create and manage VMs. I am very new to PowerShell…like my first day using it…ever. These are more notes for me to remember important commands.
Category Archives: Scripts
Test Passwordless SSH Authentication
I needed a way to test if I have a passwordless way to authenticate to another SSH system. This script is written in expect and basically attempts to ssh into the specified host. It assumes the user prompt will contain
I should also note that I wrote this with the intention of using it as a Nagios plugin for ssh checks. That is why it exists with the code of 2 (critical) or 3 (unknown) when there are problems.