Set-OrgNetwork
This cmdlet modifies the configuration of the specified organization network. Note: This cmdlet is only available to Provider Administrators.
Syntax
-OrgNetwork
<OrgNetwork[]>
[-Description <String>]
[-DnsSuffix <String>]
[-Name <String>]
[-PrimaryDns <IPAddress>]
[-SecondaryDns <IPAddress>]
[-Server <CIServer[]>]
[-StaticIPPool <IPRangeList>]
[CommonParameters]
[-Description <String>]
[-DnsSuffix <String>]
[-Name <String>]
[-PrimaryDns <IPAddress>]
[-SecondaryDns <IPAddress>]
[-Server <CIServer[]>]
[-StaticIPPool <IPRangeList>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
OrgNetwork[] | named |
|
Specifies the organization network that you want to configure. | optional |
|
String | named |
|
Specifies a new description for the organization network that you want to configure. | optional |
|
String | named |
|
Specifies a new DNS suffix for the organization network that you want to configure. | optional |
|
String | named |
|
Specifies a new name for the organization network that you want to configure. | optional |
|
IPAddress | named |
|
Specifies a new primary DNS for the organization network that you want to configure. | optional |
|
IPAddress | named |
|
Specifies a new secondary DNS for the organization network that you want to configure. | optional |
|
CIServer[] | named |
|
Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer. | optional |
|
IPRangeList | named |
|
Specifies a new range of static IP addresses that the organization network will allocate to virtual machines. |
Output
VMware.VimAutomation.Cloud.Types.V1.OrgNetwork
Examples
Example 1
$myOrgNetwork = Get-OrgNetwork -Name 'MyInternalOrgNetwork'
Set-OrgNetwork -OrgNetwork $myOrgNetwork -DnsSuffix "myOrgNewDns" -PrimaryDns "192.168.10.1" -SecondaryDns "192.168.10.2"
Modifies the DNS settings for the specified internal organization network.
Example 2
$myOrgNetwork = Get-OrgNetwork -Name 'MyInternalOrgNetwork'
Set-OrgNetwork -OrgNetwork $myOrgNetwork -StaticIpPool "192.168.10.42-192.168.10.66"
Changes the range of static IP addresses that are available for the organization network to allocate to virtual machines.
Related Commands
Org
This cmdlet retrieves cloud organizations.
This cmdlet modifies the configuration of the specified organization.
This cmdlet removes the specified organization.
This cmdlet creates a new organization.
OrgNetwork
This cmdlet retrieves cloud organization networks.
This cmdlet modifies the configuration of the specified organization network.
This cmdlet deletes the specified organization network.
This cmdlet creates a new organization network on a vCloud Director server.
OrgVdc
This cmdlet retrieves organization vDCs.
This cmdlet modifies the configuration of the specified organization virtual datacenter (vDC).
This cmdlet removes organization virtual datacenters (vDCs).
This cmdlet creates an organization virtual datacenter (vDC).
OrgVdcNetwork
This cmdlet retrieves organization vDC networks.
This cmdlet modifies the configuration of the specified organization network.
This cmdlet deletes the specified organization VDC network.
This cmdlet creates a new organization VDC network on a vCloud Director server.