2. VMware vCloud Director Server Resource Kit : 2.3 CloudCleaner : 2.3.7 Additional CloudCleaner flags
   
2.3.7 Additional CloudCleaner flags
*-skipVerify=true
CloudCleaner checks a vCenter Server's security certificate the first time it accesses it. In UI mode, you can choose to ignore invalid certificates. You cannot elect to ignore security certificates in command-line mode, so CloudCleaner fails if it accesses a vCenter instance that it has not previously detected in UI mode. If you use this flag, CloudCleaner automatically ignores unknown and invalid security certificates.
*-slowCleanMode=true
When run from the UI, CloudCleaner first scans your vCenter instances and then shows you the results. After you are satisfied, the actual cleaning begins. CloudCleaner does two full passes through your vCenter instances and their entities. When run from the command line, CloudCleaner skips the scan and goes directly to the clean phase, doubling its speed. Although these two modes clean identically, you can pass this flag if you want to emulate CloudCleaner's scan-then-clean behavior.
*-scanOnly=true
If you want to test your command-line parameters without actually cleaning your vCenter instances, you can pass this flag. You must also pass the -slowCleanMode=true flag.
2.3.7.1. Examples
Run and skip certificate verification (recommended usage):
$ java -jar cloudcleaner.jar -vcIpAddress=10.10.10.1 -vcLogin=administrator -vcPwd=secret -hostLogin=root -hostPwd=password -skipVerify=true
Do a test run (only scan, do not actually remove anything):
$ java -jar cloudcleaner.jar -vcIpAddress=10.10.10.1 -vcLogin=administrator -vcPwd=secret -hostLogin=root -hostPwd=password -slowCleanMode=true -scanOnly=true