Skip to content

Latest commit

 

History

History
117 lines (85 loc) · 2.77 KB

Reset-AzureRemoteAppVpnSharedKey.md

File metadata and controls

117 lines (85 loc) · 2.77 KB
external help file ms.assetid online version schema
Microsoft.WindowsAzure.Commands.RemoteApp.dll-Help.xml
4522E93F-6AC9-4A37-88B8-CCCCE15A5879
2.0.0

Reset-AzureRemoteAppVpnSharedKey

SYNOPSIS

Resets the Azure RemoteApp VPN shared key.

[!INCLUDE rdfe-banner]

SYNTAX

Reset-AzureRemoteAppVpnSharedKey [-VNetName] <String> [-Profile <AzureSMProfile>] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

The Reset-AzureRemoteAppVpnSharedKey cmdlet resets the Azure RemoteApp virtual private network (VPN) shared key.

EXAMPLES

Example 1: Reset the shared key on a virtual network

PS C:\> Reset-AzureRemoteAppVpnSharedKey -VNetName "ContosoVNet"

This command resets the shared key on the virtual network named ContosoVNet. The VPN connection to the on-premises network remains 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.

PARAMETERS

-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
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-VNetName

Specifies the name of the Azure RemoteApp virtual network.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

System.String

NOTES

RELATED LINKS

Get-AzureRemoteAppVNet

Get-AzureRemoteAppVpnDeviceConfigScript