Syntax
Set-HCXNetworkProfile [-AllowEditingIPPool <Boolean>] [-DNSSuffix <String>] [-GatewayAddress <String>] [-IPPool <String[]>] [-MTU <Int32>] [-Name <String>] [-Network <HCXNetworkBacking>] -NetworkProfile <HCXNetworkProfile> [-PrefixLength <Int32>] [-PrimaryDNS <String>] [-SecondaryDNS <String>] [-Server <HcxServer[]>] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet modifies the HCX Network Profile.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
AllowEditingIPPool | Boolean | Specifies if you can edit the IP Pool by using the Enterprise Administrator login. | false | False | |
DNSSuffix | String | Specifies the DNS suffix for the IP Pool. | false | False | |
GatewayAddress | String | Specifies the Gateway IP address for the IP Pool. | false | False | |
IPPool | String[] | Specifies the IP ranges. The following formats are valid: 1. IP address (ex: 10.2.3.4). 2. IP range (ex: 10.2.3.4-10.2.3.5). | false | False | |
MTU | Int32 | Specifies the maximum transmission unit. | false | False | |
Name | String | Specifies the name of the HCX Network Profile. | false | False | |
Network | HCXNetworkBacking | Specifies the HCX network backing. | false | True (ByValue) | |
NetworkProfile | HCXNetworkProfile | Specifies the Network Profile that you want to modify. | true | False | |
PrefixLength | Int32 | Specifies the prefix length for the Network Profile. | false | False | |
PrimaryDNS | String | Specifies the primary DNS for the Network Profile. | false | False | |
SecondaryDNS | String | Specifies the secondary DNS for the Network Profile. | false | False | |
Server | HcxServer[] | Specifies the HCX Server systems 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 the Connect-HCXServer cmdlet. | false | False |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXNetworkProfileJobNotes
Examples
-------------------------- Example 1 --------------------------
PS C:\> $myNetworkProfile = Get-HCXNetworkProfile -Name "myNetworkProfile" Set-HCXNetworkProfile -Name "newNetworkProfile" -NetworkProfile $myNetworkProfile
Modifies the name of the Network Profile.