Get-AzureRemoteAppVpnDeviceConfigScript

Retrieves the configuration script for an Azure RemoteApp VPN device.

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

Get-AzureRemoteAppVpnDeviceConfigScript
   [-VNetName] <String>
   [-Vendor] <String>
   [-Platform] <String>
   [-OSFamily] <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

The Get-AzureRemoteAppVpnDeviceConfigScript cmdlet retrieves the configuration script for an Azure RemoteApp virtual private network (VPN) device.

Examples

Example 1: Get a configuration script for a VPN device

PS C:\> Get-AzureRemoteAppVpnDeviceConfigScript -VNetName "ContosoVNet" -Vendor "Microsoft Corporation" -OSFamily "Windows Server 2012 R2"

This command returns the script or configuration file used to configure the VPN device for the virtual network named ContosoVNet. This script or configuration file should be run or loaded onto the VPN device in the typical manner for that device. Consult the VPN device vendor for the unique requirements for each device.

Parameters

-OSFamily

Specifies the operating system (OS) family that runs on the device platform.

Type:String
Position:4
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Platform

Specifies the device platform.

Type:String
Position:3
Default value:None
Required:True
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

-Vendor

Specifies the vendor of the VPN device.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-VNetName

Specifies the name of an Azure RemoteApp virtual network.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False