< Back
Get-AzureRmVirtualNetworkGateway
Post
NAME Get-AzureRmVirtualNetworkGateway
SYNOPSIS
Gets a Virtual Network Gateway
SYNTAX
Get-AzureRmVirtualNetworkGateway [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -ResourceGroupName <String> [<CommonParameters>]
DESCRIPTION
The Virtual Network Gateway is the object representing your gateway in Azure.
The Get-AzureRmVirtualNetworkGateway cmdlet returns the object of your gateway in Azure 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.PSVirtualNetworkGateway
NOTES
1: Get a Virtual Network Gateway
Get-AzureRmVirtualNetworkGateway -Name myGateway -ResourceGroupName myRG
Returns the object of the Virtual Network Gateway with the name "myGateway" within the resource group "myRG"
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... orkgateway
SYNOPSIS
Gets a Virtual Network Gateway
SYNTAX
Get-AzureRmVirtualNetworkGateway [-DefaultProfile <IAzureContextContainer>] [-Name <String>] -ResourceGroupName <String> [<CommonParameters>]
DESCRIPTION
The Virtual Network Gateway is the object representing your gateway in Azure.
The Get-AzureRmVirtualNetworkGateway cmdlet returns the object of your gateway in Azure 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.PSVirtualNetworkGateway
NOTES
1: Get a Virtual Network Gateway
Get-AzureRmVirtualNetworkGateway -Name myGateway -ResourceGroupName myRG
Returns the object of the Virtual Network Gateway with the name "myGateway" within the resource group "myRG"
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... orkgateway