< Back
Get-AzureRmResourceGroupExt
Post
NAME Get-AzureRmResourceGroupExt
SYNOPSIS
Get Azure RM Resource
SYNTAX
Get-AzureRmResourceGroupExt [[-SubscriptionName] <String>] [[-ResourceGroupName] <String>] [-WithoutTagOnly]
[<CommonParameters>]
DESCRIPTION
Get Azure RM Resource
PARAMETERS
-SubscriptionName <String>
Name of the Azure subscription that you want to work against
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Name of the resource group that you want to work against
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-WithoutTagOnly [<SwitchParameter>]
Switch to instruct the cmdlet to only list resource groups without any tag details
Required? false
Position? named
Default value False
Accept pipeline input? false
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: M??????tz Jensen (@splaxi)
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AzureRmResourceGroupExt -SubscriptionName "DEV" -ResourceGroupName "*DEV*"
This will get the resource group that contains the search *DEV* inside thesubscription named DEV.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AzureRmSubscriptionExt -SubscriptionName "*dev*" | Get-AzureRmResourceGroupExt -ResourceGroupName
"*DEV*"
This will get the subscription that matches the search *DEV* and get the ResourceGroup that matches the search
*DEV*.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-AzureRmSubscriptionExt -SubscriptionName "*dev*" | Get-AzureRmResourceGroupExt -WithoutTagOnly
This will get the subscription that matches the search *DEV* and get all ResourceGroups that doesn't have a tag
collection specified.
RELATED LINKS
SYNOPSIS
Get Azure RM Resource
SYNTAX
Get-AzureRmResourceGroupExt [[-SubscriptionName] <String>] [[-ResourceGroupName] <String>] [-WithoutTagOnly]
[<CommonParameters>]
DESCRIPTION
Get Azure RM Resource
PARAMETERS
-SubscriptionName <String>
Name of the Azure subscription that you want to work against
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Name of the resource group that you want to work against
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-WithoutTagOnly [<SwitchParameter>]
Switch to instruct the cmdlet to only list resource groups without any tag details
Required? false
Position? named
Default value False
Accept pipeline input? false
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
Author: M??????tz Jensen (@splaxi)
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AzureRmResourceGroupExt -SubscriptionName "DEV" -ResourceGroupName "*DEV*"
This will get the resource group that contains the search *DEV* inside thesubscription named DEV.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-AzureRmSubscriptionExt -SubscriptionName "*dev*" | Get-AzureRmResourceGroupExt -ResourceGroupName
"*DEV*"
This will get the subscription that matches the search *DEV* and get the ResourceGroup that matches the search
*DEV*.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-AzureRmSubscriptionExt -SubscriptionName "*dev*" | Get-AzureRmResourceGroupExt -WithoutTagOnly
This will get the subscription that matches the search *DEV* and get all ResourceGroups that doesn't have a tag
collection specified.
RELATED LINKS