in reply to Shuting down servers
Though, note that Net::OpenSSH::Parallel does not work on Windows.use Net::OpenSSH::Parallel; my $pssh = Net::OpenSSH::Parallel->new(); $pssh->add_host($_) for @servers; $pssh->push('*', command => 'poweroff'); $pssh->run;
|
|---|