< Back
Set-vRANATNetworkProfile
Post
NAME Set-vRANATNetworkProfile
SYNOPSIS
Set a vRA network profile
SYNTAX
Set-vRANATNetworkProfile [-Id] <String> [[-Name] <String>] [[-Description] <String>] [[-GatewayAddress] <String>]
[[-PrimaryDNSAddress] <String>] [[-SecondaryDNSAddress] <String>] [[-DNSSuffix] <String>] [[-DNSSearchSuffix]
<String>] [[-PrimaryWinsAddress] <String>] [[-SecondaryWinsAddress] <String>] [[-NatType] <String>] [-DHCPEnabled]
[[-DHCPStartAddress] <String>] [[-DHCPEndAddress] <String>] [[-DHCPLeaseTime] <Int32>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Set a vRA network profiles
PARAMETERS
-Id <String>
The network profile id
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Name <String>
The network profile name
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
The network profile description
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-GatewayAddress <String>
The gateway address of the network profile
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PrimaryDNSAddress <String>
The address of the primary DNS server
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SecondaryDNSAddress <String>
The address of the secondary DNS server
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DNSSuffix <String>
The DNS suffix
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DNSSearchSuffix <String>
The DNS search suffix
Required? false
Position? 8
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PrimaryWinsAddress <String>
The address of the primary wins server
Required? false
Position? 9
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SecondaryWinsAddress <String>
The address of the secondary wins server
Required? false
Position? 10
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NatType <String>
The nat type. This can be One-to-One or One-to-Many
Required? false
Position? 11
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DHCPEnabled [<SwitchParameter>]
Enable DHCP for a NAT network profile. Nat type must be One-to-Many
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-DHCPStartAddress <String>
The start address of the dhcp range
Required? false
Position? 12
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DHCPEndAddress <String>
The end address of the dhcp range
Required? false
Position? 13
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DHCPLeaseTime <Int32>
The dhcp lease time in seconds. The default is 0.
Required? false
Position? 14
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String.
System.Int.
OUTPUTS
System.Management.Automation.PSObject
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-vRANATNetworkProfile -Name "Network-Nat" | Set-vRANATNetworkProfile -Name "Network-NAT-Updated"
-Description "Updated Description" -GatewayAddress "10.70.2.1" -PrimaryDNSAddress "10.70.1.100"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-vRANATNetworkProfile -Id 1ada4023-8a02-4349-90bd-732f25001852 -Description "Updated Description"
RELATED LINKS
SYNOPSIS
Set a vRA network profile
SYNTAX
Set-vRANATNetworkProfile [-Id] <String> [[-Name] <String>] [[-Description] <String>] [[-GatewayAddress] <String>]
[[-PrimaryDNSAddress] <String>] [[-SecondaryDNSAddress] <String>] [[-DNSSuffix] <String>] [[-DNSSearchSuffix]
<String>] [[-PrimaryWinsAddress] <String>] [[-SecondaryWinsAddress] <String>] [[-NatType] <String>] [-DHCPEnabled]
[[-DHCPStartAddress] <String>] [[-DHCPEndAddress] <String>] [[-DHCPLeaseTime] <Int32>] [-WhatIf] [-Confirm]
[<CommonParameters>]
DESCRIPTION
Set a vRA network profiles
PARAMETERS
-Id <String>
The network profile id
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Name <String>
The network profile name
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
The network profile description
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-GatewayAddress <String>
The gateway address of the network profile
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PrimaryDNSAddress <String>
The address of the primary DNS server
Required? false
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SecondaryDNSAddress <String>
The address of the secondary DNS server
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DNSSuffix <String>
The DNS suffix
Required? false
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DNSSearchSuffix <String>
The DNS search suffix
Required? false
Position? 8
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PrimaryWinsAddress <String>
The address of the primary wins server
Required? false
Position? 9
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SecondaryWinsAddress <String>
The address of the secondary wins server
Required? false
Position? 10
Default value
Accept pipeline input? false
Accept wildcard characters? false
-NatType <String>
The nat type. This can be One-to-One or One-to-Many
Required? false
Position? 11
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DHCPEnabled [<SwitchParameter>]
Enable DHCP for a NAT network profile. Nat type must be One-to-Many
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-DHCPStartAddress <String>
The start address of the dhcp range
Required? false
Position? 12
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DHCPEndAddress <String>
The end address of the dhcp range
Required? false
Position? 13
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DHCPLeaseTime <Int32>
The dhcp lease time in seconds. The default is 0.
Required? false
Position? 14
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String.
System.Int.
OUTPUTS
System.Management.Automation.PSObject
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-vRANATNetworkProfile -Name "Network-Nat" | Set-vRANATNetworkProfile -Name "Network-NAT-Updated"
-Description "Updated Description" -GatewayAddress "10.70.2.1" -PrimaryDNSAddress "10.70.1.100"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Set-vRANATNetworkProfile -Id 1ada4023-8a02-4349-90bd-732f25001852 -Description "Updated Description"
RELATED LINKS