This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
This is an update of the original script to work with the Az PowerShell module: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-1.0.0 | |
Use this script to retrieve the resources that were deployed with a pid-[GUID] tag | |
Select-AzSubscription before running the script - it must be run within the subscription context of the deployment | |
The GUID and resourceGroup name of the deployment are required params | |
#> | |
Param( | |
[GUID][Parameter(Mandatory=$true)]$guid, | |
[string][Parameter(Mandatory=$true)]$resourceGroupName |