public class RemoveVirtualSwitchPortGroup extends Object
This sample is used to remove a Virtual Switch PortGroup To run this samples following parameters are used: Parameters: portgroupname [required]: Name of the port group to be removed host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line: To remove a Virtual Switch Port Group run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password--datacenter [mydatacenter] --portgroupname[ Command Line: To remove a Virtual Switch Port Group without specifying the host name run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password --datacenter [mydatacenter] --portgroupname[ Command Line: To remove a Virtual Switch Port Group without specifying the datacenter name run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password --portgroupname[
| Constructor and Description |
|---|
RemoveVirtualSwitchPortGroup() |
Copyright © 2011-2012. All Rights Reserved.