< Back

Get-AzureRmResourceExt

Sat Jan 11, 2020 10:35 am

NAME Get-AzureRmResourceExt



SYNOPSIS

Get Azure RM Resource





SYNTAX

Get-AzureRmResourceExt [-ResourceGroupName] <String> [[-Name] <String>] [<CommonParameters>]





DESCRIPTION

Get Azure RM Resource





PARAMETERS

-ResourceGroupName <String>

Name of the resource group that you want to work against



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Name <String>

Name of the resource that you want to work against



Required? false

Position? 2

Default value *

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-AzureRmResourceExt -ResourceGroupName "DEV"



This will get all resources from the resource group named DEV.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-AzureRmSubscriptionExt -SubscriptionName "*dev*" | Get-AzureRmResourceGroupExt -ResourceGroupName

"*DEV*"



| Get-AzureRmResourceExt



This will select the subscription that matches the search *DEV*, find the resource group

that matches *DEV* in that subscription and get all resources from that.











RELATED LINKS