Skip to content

Commit 647ac68

Browse files
authored
Merge pull request MicrosoftDocs#18847 from theheatDK/patch-7
Update resource-group-using-tags.md
2 parents ac796e1 + 95680ca commit 647ac68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-resource-manager/resource-group-using-tags.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ To apply all tags from a resource group to its resources, and *retain existing t
119119

120120
```azurepowershell-interactive
121121
$group = Get-AzureRmResourceGroup "examplegroup"
122-
if ($group.Tags -ne $null) {
122+
if ($null -ne $group.Tags) {
123123
$resources = Get-AzureRmResource -ResourceGroupName $group.ResourceGroupName
124124
foreach ($r in $resources)
125125
{

0 commit comments

Comments
 (0)