Home Perl Connect to ESX host using Perl SDK
Connect to ESX host using Perl SDK PDF Print E-mail
Written by Siva   
Friday, 19 November 2010 11:29

Pre-Requirements:

 

  • Your Windows box with vSphere Client
  • vSphere SDK for Perl 4.1 or vSphere SDK for Perl 4.0 or VI Perl Toolkit 1.6  (vSphere SDK for Perl - Windows Installer 32 Bit - available 32 bit only so far, for linux version download SDK for linux OS)

 

In Windows at a command prompt, change to the /apps/general directory.
C:\Program Files\VMware\VMware vSphere CLI\Perl\apps\general

 

In Linux go to
/usr/lib/vmware-vcli/apps

 


Run connect.pl as follows:
connect.pl --url https://10.10.10.12:443/sdk/vimService --username vmgenie --password secret

 

The script returns an information message and the host time. Now you can run other scripts, or create new scripts.

Last Updated on Friday, 19 November 2010 11:31
 
 

Advertisement

Featured Links:
HREmail.com
Looking for job? Try HREmail.com
Want to have CMS based Websites?
Try siliconwebcreators.com to CMS based websites.
VM Solutions Inc
For best VM solutions..
Digital Procedure Inc.
Looking for Oracle /SAP /Weblogic Consulting services? visit digitalprocedure.com