Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (3 sloc) 120 Bytes
A Hyper-V helper.
require 'hyper_v'
HyperV::Server.new('servername').virtual_machines.each { |vm| puts vm.name }