virsh-counter Counts virtual machines in a bash script and another simple script that randomly selects one of all machines powered on or off and returns the name.