New-AzureRemoteAppVNet
Creates an Azure RemoteApp virtual network.
Note
The cmdlets referenced in this documentation are for managing legacy Azure resources that use Azure Service Manager (ASM) APIs. This legacy PowerShell module isn't recommended when creating new resources since ASM is scheduled for retirement. For more information, see Azure Service Manager retirement.
The Az PowerShell module is the recommended PowerShell module for managing Azure Resource Manager (ARM) resources with PowerShell.
Syntax
Default (Default)
New-AzureRemoteAppVNet
-VNetName <String>
-VirtualNetworkAddressSpace <String[]>
-LocalNetworkAddressSpace <String[]>
-DnsServerIpAddress <String[]>
-VpnDeviceIpAddress <String>
[-Location] <String>
-GatewayType <GatewayType>
[-Profile <AzureSMProfile>]
[<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.
Parameters
-DnsServerIpAddress
Specifies an array of the IPv4 addresses of the DNS servers.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-GatewayType
Specifies the type of gateway routing to use. The acceptable values for this parameter are: StaticRouting or DynamicRouting.
Parameter properties
Type: | GatewayType |
Default value: | None |
Accepted values: | StaticRouting, DynamicRouting |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Location
Specifies the location in which to create the virtual network.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-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.
Parameter properties
Type: | AzureSMProfile |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-VNetName
Specifies the name of the Azure RemoteApp virtual network.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-VpnDeviceIpAddress
Specifies the address of the virtual private network (VPN) device. This must be a public-facing address.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.