vSphere SDK for Perl Programming Guide - Documentation - VMware
vSphere SDK for Perl Programming Guide - Documentation - VMware
vSphere SDK for Perl Programming Guide - Documentation - VMware
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> <strong>Programming</strong> <strong>Guide</strong><br />
Table 1-3. Options Available <strong>for</strong> all <strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> Scripts (Continued)<br />
Parameter and Environment<br />
Variable Description<br />
--help Prints a brief usage message. The message lists first each command‐specific option<br />
and then the common options.<br />
--passthroughauth<br />
VI_PASSTHROUGHAUTH<br />
--passthroughauthpackage<br />
<br />
VI_PASSTHROUGHAUTHPACKAGE=<br />
<br />
--password <br />
VI_PASSWORD=<br />
--portnumber <br />
VI_PORTNUMBER=<br />
--protocol <br />
VI_PROTOCOL=<br />
--savesessionfile <br />
VI_SAVESESSIONFILE=<br />
--server <br />
VI_SERVER=<br />
--servicepath <br />
VI_SERVICEPATH=<br />
--sessionfile <br />
VI_SESSIONFILE=<br />
--url <br />
VI_URL=<br />
--username <br />
VI_USERNAME=<br />
When the <strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> runs, the system uses the Microsoft Windows<br />
Security Support Provider Interface (SSPI) <strong>for</strong> authentication. You are not<br />
prompted <strong>for</strong> a user name and password. See the Microsoft Web site <strong>for</strong> a detailed<br />
discussion of SSPI.<br />
This option is supported only if you are running <strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> on a<br />
Windows system and connecting to a vCenter Server system.<br />
When used in conjunction with --passthroughauth, specifies a domain‐level<br />
authentication protocol to be used by Windows. By default, SSPI uses the<br />
Negotiate protocol, which means that client and server attempt to negotiate a<br />
mutually supported protocol.<br />
If the vCenter Server system to which you are connecting is configured to use a<br />
specific protocol, you can specify that protocol using this parameter.<br />
This option is supported only if you are running <strong>vSphere</strong> <strong>SDK</strong> <strong>for</strong> <strong>Perl</strong> on a<br />
Windows system and connecting to a vCenter Server system.<br />
Password (used in conjunction with --username) <strong>for</strong> log in to the server.<br />
If ‐‐server specifies a vCenter Server system, the user name and password<br />
apply to that server. No passwords are then needed to run on the ESX/ESXi<br />
hosts that server manages.<br />
If ‐‐server specifies an ESX/ESXi system, the user name and password apply to<br />
that system.<br />
NOTE: Use the empty string (' ' on Linux and “ “ on Windows) to indicate no<br />
password.<br />
If you do not specify a user name and password on the command line, and<br />
authentication is not set up by other means, you are prompted.<br />
Port to connect to the ESX/ESXi host. Default is 443.<br />
Protocol to connect to the ESX/ESXi host. Default is HTTPS.<br />
Saves a session to the specified file. The session expires if it has been unused <strong>for</strong><br />
thirty minutes.<br />
<strong>vSphere</strong> server to use. Default is localhost.<br />
Service path to use to connect to the ESX/ESXi host. Default is /sdk/webService.<br />
Session file to use to load a previously saved session. The session must be<br />
unexpired.<br />
<strong>vSphere</strong> Web Services <strong>SDK</strong> URL to connect to.<br />
User name to use to log in.<br />
If --server specifies a vCenter Server system, the user name and password<br />
apply to that server. No passwords are then needed to run on the ESX/ESXi<br />
hosts that server manages.<br />
If --server specifies an ESX/ESXi system, the user name and password apply<br />
to that system.<br />
If you do not specify a user name and password on the command line, you are<br />
prompted.<br />
--verbose Displays additional debugging in<strong>for</strong>mation.<br />
--version Displays version in<strong>for</strong>mation.<br />
16 <strong>VMware</strong>, Inc.