## PowerCLI Reference

# Set-OrgNetwork

## Synopsis

This cmdlet modifies the configuration of the specified organization network.

Syntax

Set-OrgNetwork [-OrgNetwork] <OrgNetwork[]> [-Name <String>] [-Description <String>] [-PrimaryDns <IPAddress>] [-SecondaryDns <IPAddress>] [-DnsSuffix <String>] [-StaticIPPool <IPRangeList>] [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Related Commands

Online version
Get-OrgNetwork
New-OrgNetwork
Remove-OrgNetwork

Detailed Description

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

Parameters

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
OrgNetwork | OrgNetwork[] | Specifies the organization network that you want to configure. | true | true (ByValue)
Confirm | SwitchParameter | If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation. | false | false
Description | String | Specifies a new description for the organization network that you want to configure. | false | false
DnsSuffix | String | Specifies a new DNS suffix for the organization network that you want to configure. | false | false
InformationAction | ActionPreference |  | false | false
InformationVariable | String |  | false | false
Name | String | Specifies a new name for the organization network that you want to configure. | false | false
PipelineVariable | String |  | false | false
PrimaryDns | IPAddress | Specifies a new primary DNS for the organization network that you want to configure. | false | false
SecondaryDns | IPAddress | Specifies a new secondary DNS for the organization network that you want to configure. | false | false
Server | CIServer[] | 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. | false | false
StaticIPPool | IPRangeList | Specifies a new range of static IP addresses that the organization network will allocate to virtual machines. | false | false
WhatIf | SwitchParameter | Indicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified. | false | false

Return Type

Zero or more modified OrgNetwork objects

Notes

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.

Copyright © VMware, Inc. All rights reserved.