Syntax :

./emcgrab.exe [-h] [-v] [-debug] [-host <host>] [-vsphereUrl <URL>]
              -user <user> -password <password>
              [-vmsupport]
              [-autoexec] [-legal] [-quiet]
              [-case <service request number>] [-party <party number, site id>]
              [-customer <company name>] [-contact <contact name>] 
              [-email <contact email>] [-phone <contact phone number]
              [-clariionip <IP Addresses> ] [-outdir <new_output_directory>] 
              [-noclariion]
              [-symApiServer <SYM API server>]

where
    -h              : Displays help screen and exit.
    -v              : Displays version information and exit.
    -host           : The IPv4 Address of the ESXi host
    -vsphereurl     : The vSphere URL used in discovery if not specified then 
                    : host is used to construct the default value:
                    :   https://<IPv4 Address from -host>/sdk
                    : Example https://10.211.87.15/sdk
                    : This or host must be specified for a grab to be created
    -user           : ESXi host login user name
    -password       : ESXi host login password
    -passwordPrompt : Displays prompt to enter password.  Cannot be used with
                    : -password switch.  Only use if encountering password issues.
    -vmsupport      : Include vSphere Log Bundle in the grab output.
    -outDir         : Target folder for Grab output files.
                    : Enclose in quotes if contains a space.
    -quiet          : Suppresses all feedback.
    -legal          : Bypass the showing of Legal Notice and asking the user to 
                    : accept it.
                    :  [If this switch is specified it means user auto accepts
                    :   the EMC's license agreement]
    -autoexec       : Bypasses all interactive prompts except the license 
                    : acceptance, use -legal to ensure not prompted for this        
    -case           : Sets service request number in customer.profile
                    : This has to be a numeric, integer.
                    : Max Length is 10 digits
                    : Default is 0000000000
                    : If the value entered is invalid then an error is logged and
                    : shown to user console and the default value is used
    -party          : Sets Party Number of Customer (site-id) in customer.profile
    -customer       : Sets Company Name in customer.profile
    -contact        : Sets Customer Contact Name in customer.profile
    -email          : Sets Customer Contact Email Address in customer.profile
    -phone          : Sets Customer Contact Phone Number in customer.profile
    -clariionip     : Comma separated list of IP addresses for SPA / SPB
    -noclariion     : Do not gather Clariion information
    -symApiServer   : Execute SYMCLI calls.  Default value = "SYMAPI_SERVER". 
                    : Optionally specify another service to use.  The value must
                    : match that which is configured in the SMYAPI config file.
                    : The netcnfg file is usually found in the folder
                    : Windows:    "C:\Program Files\EMC\SYMAPI\config\"
                    : Linux:      "/opt/emc/SYMCLI/config/"
 