< Back

New-vRARoutedNetworkProfile

Sat Jan 18, 2020 10:03 pm

NAME New-vRARoutedNetworkProfile



SYNOPSIS

Create a vRA routed network profile





SYNTAX

New-vRARoutedNetworkProfile -Name <String> [-Description <String>] -SubnetMask <String> [-GatewayAddress <String>]

-ExternalNetworkProfile <String> [-PrimaryDNSAddress <String>] [-SecondaryDNSAddress <String>] [-DNSSuffix

<String>] [-DNSSearchSuffix <String>] [-PrimaryWinsAddress <String>] [-SecondaryWinsAddress <String>]

[-RangeSubnetMask <String>] [-BaseIPAddress <String>] -IPRanges <PSObject[]> [-WhatIf] [-Confirm]

[<CommonParameters>]



New-vRARoutedNetworkProfile -Name <String> [-Description <String>] -SubnetMask <String> [-GatewayAddress <String>]

-ExternalNetworkProfile <String> [-UseExternalNetworkProfileSettings] [-RangeSubnetMask <String>] [-BaseIPAddress

<String>] -IPRanges <PSObject[]> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Create a vRA routed network profiles





PARAMETERS

-Name <String>

The network profile Name



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <String>

The network profile Description



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SubnetMask <String>

The subnet mask of the network profile



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-GatewayAddress <String>

The gateway address of the network profile



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ExternalNetworkProfile <String>

The external network profile that will be linked to that Routed or NAT network profile



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-UseExternalNetworkProfileSettings [<SwitchParameter>]

Use the settings from the selected external network profile



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-PrimaryDNSAddress <String>

The address of the primary DNS server



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SecondaryDNSAddress <String>

The address of the secondary DNS server



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DNSSuffix <String>

The DNS suffix



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-DNSSearchSuffix <String>

The DNS search suffix



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PrimaryWinsAddress <String>

The address of the primary wins server



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-SecondaryWinsAddress <String>

The address of the secondary wins server



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RangeSubnetMask <String>

The subnetMask for the routed range



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-BaseIPAddress <String>

The base ip of the routed range



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-IPRanges <PSObject[]>

An array of ip address ranges



Required? true

Position? named

Default value

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

PSCustomObject





OUTPUTS

System.Management.Automation.PSObject





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



PS C:\\>$DefinedRange1 = New-vRANetworkProfileIPRangeDefinition -Name "External-Range-01" -Description "Example 1"

-StartIPv4Address "10.80.1.2" -EndIPv4Address "10.80.1.5"



New-vRARoutedNetworkProfile -Name Network-Routed -Description "Routed" -SubnetMask "255.255.255.0" -GatewayAddress

"10.80.1.1" -PrimaryDNSAddress "10.80.1.100" -SecondaryDNSAddress "10.80.1.101" -DNSSuffix "corp.local"

-DNSSearchSuffix "corp.local" -ExternalNetworkProfile "Network-External" -RangeSubnetMask "255.255.255.0"

-BaseIPAddress "10.80.1.2" -IPRanges $DefinedRange1











RELATED LINKS