Set-​Azure​Remote​App​VNet

Sets the properties of an Azure RemoteApp virtual network.

Syntax

Set-AzureRemoteAppVNet
   [-DnsServerIpAddress <String[]>]
   [-LocalNetworkAddressSpace <String[]>]
   [-Profile <AzureSMProfile>]
   [-VirtualNetworkAddressSpace <String[]>]
   -VNetName <String>
   [-VpnDeviceIpAddress <String>]
   [<CommonParameters>]

Description

The Set-AzureRemoteAppVNet cmdlet sets the properties of an Azure RemoteApp virtual network.

Examples

Example 1: Set the properties of a virtual network

PS C:\> Set-AzureRemoteAppVnet -VNetName "ContosoVNet" -DnsServerIpAddress "131.253.33.200" -LocalNetworkAddressSpace "192.168.0.0/24" -VirtualNetworkAddressSpace "10.10.0.0/24" -VpnDeviceIpAddress "131.253.33.200"

This command sets the properties of a virtual network named ContosoVNet.

Required Parameters

-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

Optional Parameters

-DnsServerIpAddress

Specifies the IPv4 addresses of the DNS servers.

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

Specifies the local network address space, in Classes Inter-Domain Routing (CIDR) notation. This must not overlap the virtual network address space.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters: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.

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

Specifies the virtual network address space in CIDR notation. This must be in the private IP address range and cannot overlap the local network address space.

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