public class VmStartupOption
{
public static void main(String[] args) throws Exception
{
CommandLineParser clp = new CommandLineParser(
constructOptions(), args);
String urlStr = clp.get_option("url");
String username = clp.get_option("username");
String password = clp.get_option("password");
String hostname = clp.get_option("hostname");
ServiceInstance si = new ServiceInstance(new URL(urlStr),
username, password, true);
HostSystem host = (HostSystem) new InventoryNavigator(si
.getRootFolder()).searchManagedEntity("HostSystem",