< Back

Get-AzureRmLocalNetworkGateway

Tue Jan 29, 2019 9:54 pm

NAME Get-AzureRmLocalNetworkGateway



SYNOPSIS

Gets a Local Network Gateway





SYNTAX

Get-AzureRmLocalNetworkGateway [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -ResourceGroupName <String> [<CommonParameters>]





DESCRIPTION

The Local Network Gateway is the object representing your VPN device On-Premises.



The Get-AzureRmLocalNetworkGateway cmdlet returns the object representing your on-prem gateway based on Name and Resource Group Name.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>





Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>





Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSLocalNetworkGateway







NOTES









1: Get a Local Network Gateway



Get-AzureRmLocalNetworkGateway -Name myLocalGW -ResourceGroupName myRG



Returns the object of the Local Network Gateway with the name "myLocalGW" within the resource group "myRG"







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... orkgateway