Set-OrgVdcNetwork Command | Vmware PowerCLI Reference

Set-OrgVdcNetwork

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

Syntax

Set-OrgVdcNetwork
-OrgVdcNetwork < OrgVdcNetwork[] >
[-Description < String > ]
[-DnsSuffix < String > ]
[-Name < String > ]
[-PrimaryDns < IPAddress > ]
[-ProgressAction < ActionPreference > ]
[-SecondaryDns < IPAddress > ]
[-Server < CIServer[] > ]
[-StaticIPPool < IPRangeList > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
OrgVdcNetwork OrgVdcNetwork[] named
  • pipeline
Specifies the organization VDC network that you want to configure.
optional Description String named
Specifies a new description for the organization VDC network that you want to configure.
optional DnsSuffix String named
Specifies a new Domain Name System (DNS) suffix for the organization VDC network that you want to configure.
optional Name String named
Specifies a new name for the organization VDC network that you want to configure.
optional PrimaryDns IPAddress named
Specifies a new primary Domain Name System (DNS) for the organization VDC network that you want to configure.
optional ProgressAction ActionPreference named
optional SecondaryDns IPAddress named
Specifies a new secondary Domain Name System (DNS) for the organization VDC network that you want to configure.
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.
optional StaticIPPool IPRangeList named
Specifies a new range of static IP addresses that the organization VDC network will allocate to virtual machines.

Output

VMware.VimAutomation.Cloud.Types.V1.OrgVdcNetwork

Examples

Example 1

$myOrgNetwork = Get-OrgVdcNetwork -Name 'MyInternalOrgNetwork'
Set-OrgVdcNetwork -OrgVdcNetwork $myOrgNetwork -DnsSuffix "myOrgNewDns" -PrimaryDns "192.168.10.1" -SecondaryDns "192.168.10.2"

Modifies the DNS settings for the specified internal organization VDC network.

Example 2

$myOrgNetwork = Get-OrgVdcNetwork -Name 'MyInternalOrgNetwork'
Set-OrgVdcNetwork -OrgVdcNetwork $myOrgNetwork -StaticIpPool "192.168.10.42-192.168.10.66"

Changes the range of static IP addresses that are available for the organization VDC network to allocate to virtual machines.

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.