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]

DESCRIPTION

Set a vRA network profiles

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

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 --------------------------

Set-vRANATNetworkProfile -Id 1ada4023-8a02-4349-90bd-732f25001852 -Description "Updated Description"

PARAMETERS

-Id

The network profile id

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Name

The network profile name

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Description

The network profile description

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-GatewayAddress

The gateway address of the network profile

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PrimaryDNSAddress

The address of the primary DNS server

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SecondaryDNSAddress

The address of the secondary DNS server

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DNSSuffix

The DNS suffix

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DNSSearchSuffix

The DNS search suffix

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PrimaryWinsAddress

The address of the primary wins server

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SecondaryWinsAddress

The address of the secondary wins server

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NatType

The nat type. This can be One-to-One or One-to-Many

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DHCPEnabled

Enable DHCP for a NAT network profile. Nat type must be One-to-Many

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-DHCPStartAddress

The start address of the dhcp range

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DHCPEndAddress

The end address of the dhcp range

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 13
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DHCPLeaseTime

The dhcp lease time in seconds. The default is 0.

Type: Int32
Parameter Sets: (All)
Aliases: 

Required: False
Position: 14
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

System.String.

System.Int.

OUTPUTS

System.Management.Automation.PSObject

NOTES