diff --git a/CheckandApplyTags.ps1 b/CheckandApplyTags.ps1 index 51f5543..f4f5e4e 100644 --- a/CheckandApplyTags.ps1 +++ b/CheckandApplyTags.ps1 @@ -2,7 +2,7 @@ Login-AzureRmAccount #List all Resources within the Subscription -$Resources = Find-AzureRmResource +$Resources = Get-AzureRmResource #For each Resource apply the Tag of the Resource Group Foreach ($resource in $Resources)