New-​Azure​Remote​App​VNet

Creates an Azure RemoteApp virtual network.

Syntax

New-AzureRemoteAppVNet
   [-Location] <String>
   -DnsServerIpAddress <String[]>
   -GatewayType <GatewayType>
   -LocalNetworkAddressSpace <String[]>
   [-Profile <AzureSMProfile>]
   -VirtualNetworkAddressSpace <String[]>
   -VNetName <String>
   -VpnDeviceIpAddress <String>
   [<CommonParameters>]

Description

The New-AzureRemoteAppVNet cmdlet creates an Azure RemoteApp virtual network.

Examples

Example 1: Create a virtual network

PS C:\> New-AzureRemoteAppVnet -VNetName "ContosoVNet" -DnsServerIpAddress "192.168.0.5" -LocalNetworkAddressSpace "192.168.0.0/24" -Location "Central US" -VirtualNetworkAddressSpace "10.10.0.0/24" -VpnDeviceIpAddress "131.107.33.200" -GatewayType StaticRouting

TrackingId

----------

b0ca9d1b-d1b9-4f24-9a08-5e021926587f

This command creates a virtual network named ContosoVNet.

To determine the status of the operation, use the Get-AzureRemoteAppOperationResult cmdlet with the tracking ID that this cmdlet returns.

Required Parameters

-DnsServerIpAddress

Specifies an array of the IPv4 addresses of the DNS servers.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-GatewayType

Specifies the type of gateway routing to use. The acceptable values for this parameter are: StaticRouting or DynamicRouting.

Type:GatewayType
Parameter Sets:StaticRouting, DynamicRouting
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-LocalNetworkAddressSpace

Specifies an array of strings that specify the local network address space, in Classless Interdomain Routing (CIDR) notation. This address space must not overlap with the virtual network address space that the VirtualNetworkAddressSpace parameter specifies.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Location

Specifies the location in which to create the virtual network.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VNetName

Specifies the name of the Azure RemoteApp virtual network.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VirtualNetworkAddressSpace

Specifies an array of string that specify the virtual network address space in CIDR notation. This must be in the private IP address range and cannot overlap with the local network address space that the LocalNetworkAddressSpace parameter specifies.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VpnDeviceIpAddress

Specifies the address of the virtual private network (VPN) device. This must be a public-facing address.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

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