Remove-OrgVdcNetwork Command | Vmware PowerCLI Reference

Remove-OrgVdcNetwork

This cmdlet deletes the specified organization VDC network. Note: This cmdlet is only available to Provider Administrators.

Syntax

Remove-OrgVdcNetwork
-OrgVdcNetwork < OrgVdcNetwork[] >
[-ProgressAction < ActionPreference > ]
[-RunAsync ]
[-Server < CIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
OrgVdcNetwork OrgVdcNetwork[] named
  • pipeline
Specifies the organization VDC network that you want to remove.
optional ProgressAction ActionPreference named
optional RunAsync SwitchParameter named
Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console.
optional Server CIServer[] named
Specifies the cloud servers on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-CIServer cmdlet.

Output

Examples

Example 1

Get-OrgVdcNetwork -Name 'MyOrgNetwork' | Remove-OrgVdcNetwork

Removes the specified organization VDC network.

Example 2

Get-OrgVdcNetwork -Name 'MyOrgNetwork' | Remove-OrgVdcNetwork -RunAsync

Removes the specified organization VDC network asynchronously.

Related Commands

Org

This cmdlet retrieves cloud organizations.

This cmdlet creates a new organization.

This cmdlet removes the specified organization.

This cmdlet modifies the configuration of the specified organization.

OrgVdc

This cmdlet retrieves organization vDCs.

This cmdlet creates an organization virtual datacenter (vDC).

This cmdlet removes organization virtual datacenters (vDCs).

This cmdlet modifies the configuration of the specified organization virtual datacenter (vDC).

OrgVdcNetwork

This cmdlet retrieves organization vDC networks.

This cmdlet creates a new organization VDC network on a vCloud Director server.

This cmdlet deletes the specified organization VDC network.

This cmdlet modifies the configuration of the specified organization network.