Link to home
Start Free TrialLog in
Avatar of tzadmin
tzadminFlag for Canada

asked on

Need Helping Editing Perl Script for PowerChute Network Shutdown

Hi,

I found the perl script on the vmware community. The problem is that within APC's PCNS it will not let you specify parameters to run with the script.

The script requires calling on a host-list file  Usage: ./shutdownHostViaSOAPAPICall.pl [HOST_FILE]

So I would like to add the hosts I want to shutdown directly into the script instead of having to call a hostlist file.

Can anyone help with this? Here is the Vsphere thread for reference. And so that you can download the script.

https://communities.vmware.com/docs/DOC-11623

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tzadmin

ASKER

Worked like a charm. Thank you good sir!
You're welcome.

Glad I could help!