< Back

Get-AzureRmApplicationSecurityGroup

Tue Jan 29, 2019 9:54 pm

NAME Get-AzureRmApplicationSecurityGroup



SYNOPSIS

Gets an application security group.





SYNTAX

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





DESCRIPTION

The Get-AzureRmApplicationSecurityGroup cmdlet gets an application security group.





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>

The resource name.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

The resource group name.



Required? false

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

System.String







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationSecurityGroup







NOTES









Example 1: Retrieve all application security groups.



PS C:\\> Get-AzureRmApplicationSecurityGroup



The command above returns the all application security groups in the subscription.





Example 2: Retrieve application security groups in a resource group.



PS C:\\> Get-AzureRmApplicationSecurityGroup -ResourceGroupName MyResourceGroup



The command above returns all application security groups that belong to the resource group MyResourceGroup.





Example 3: Retrieve a specific application security group.



PS C:\\> Get-AzureRmApplicationSecurityGroup -ResourceGroupName MyResourceGroup -Name MyApplicationSecurityGroup



The command above returns the application security group MyApplicationSecurityGroup under the resource group MyResourceGroup.







RELATED LINKS

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

New-AzureRmApplicationSecurityGroup

Remove-AzureRmApplicationSecurityGroup

Get-AzureRmNetworkSecurityRuleConfig

Get-AzureRmNetworkInterfaceIpConfig