From 0c035d6a88d60b903d17a375a6f791d1f1392c4a Mon Sep 17 00:00:00 2001 From: L2v2P Date: Mon, 14 May 2018 15:24:15 +0200 Subject: [PATCH] Update CheckandApplyTags.ps1 Find-AzureRmResource has been depricated. --- CheckandApplyTags.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)