Set-AzureRemoteAppVNet
Sets the properties of 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
Set-AzureRemoteAppVNet
-VNetName <String>
[-VirtualNetworkAddressSpace <String[]>]
[-LocalNetworkAddressSpace <String[]>]
[-DnsServerIpAddress <String[]>]
[-VpnDeviceIpAddress <String>]
[-Profile <AzureSMProfile>]
[<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.
Parameters
-DnsServerIpAddress
Specifies the IPv4 addresses of the DNS servers.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
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 |
Required: | False |
Accept pipeline input: | True |
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 |
Required: | False |
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 |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VNetName
Specifies the name of the Azure RemoteApp virtual network.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
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 |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |