Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Reset-AzureRemoteAppVpnSharedKey

Reset-AzureRemoteAppVpnSharedKey

microsoft.azure.commands.remoteapp.dll

Synopsis

This cmdlet resets the Microsoft Azure RemoteApp VPN shared key.

Syntax

Reset-AzureRemoteAppVpnSharedKey [-VNetName] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

This cmdlet resets the Microsoft Azure RemoteApp VPN shared key.

Parameters

-VNetName <string>

Name of Microsoft Azure RemoteApp virtual network.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before executing the command.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Describes what would happen if you executed the command without actually executing the command.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

System.String

Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>

Description

-----------

Resets the shared key on ContosoVNet. The VPN connection to the on-premises network will be offline until the new shared key is configured on the VPN device. To configure the VPN device, use the Get-AzureRemoteAppVpnDeviceConfigScript cmdlet to retrieve the correct script or configuration file for your VPN device, then load that script or configuration file onto the VPN device.

Reset-AzureRemoteAppVpnSharedKey -VNetName ContosoVNet