Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Is there a way to use perl script to reboot vmware workstation clients automatically from the host?

by jerrydeep (Initiate)
on Feb 05, 2012 at 15:32 UTC ( [id://951952]=perlquestion: print w/replies, xml ) Need Help??

jerrydeep has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I will be glad if anybody can help me with the task below. I am very new in perl and would like to know more. The task:I want to use a perl script from a vmworkstation 7 host to reboot three VM client machines automatically

I need the script to write a log to the C drive if the reboot fails, and also wants a screenshot to be taken at the point of failure. The VM host and clients are all running windows 7. Is this possible using perl? I have googled a lot trying to find a way, but no success. Could you please help? Many thanks

  • Comment on Is there a way to use perl script to reboot vmware workstation clients automatically from the host?

Replies are listed 'Best First'.
Re: Is there a way to use perl script to reboot vmware workstation clients automatically from the host?
by Corion (Patriarch) on Feb 05, 2012 at 15:51 UTC

    Have you looked at the VMWare API? They even have a dedicated API for Perl. What problems do you have with using that API?

Re: Is there a way to use perl script to reboot vmware workstation clients automatically from the host?
by NetWallah (Canon) on Feb 05, 2012 at 16:52 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://951952]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2024-04-24 09:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found