Synopsis
Finds all Azure resource groups and resources missing tags.
Description
Finds all Azure resource groups and resources missing tags.
Parameters
Sets the Azure subscription name of the subscription to review.
Environment
Sets the Azure subscription Id of the subscription to review.
SubscriptionId
Sets the Azure Tenant to use.
TenantId
Sets the Azure subscription name of the subscription to review.
SubscriptionName
Switch used to specify all subscriptions should be reviewed.
AllSubscriptions
Sets the file path to the .json file to save to. Path should be a *.json filename.
Path
Sets the subscription names to exclude from review.
ExcludeSubscription
Examples
Finds all Azure resource groups and resources missing tags and exports the results to the specified *.json file.
PS> Find-AllMissingTags -AllSubscriptions -Path C:\findings.json
Finds all Azure resource groups and resources missing tags from the provided subscription name and displays the results in the console.
PS> Find-AllMissingTags -SubscriptionName "ABC"
Finds all Azure resource groups and resources missing tags from all subscription name, but excludes the specified subscriptions,and exports the results to the specified *.json file.
PS> Find-AllMissingTags -AllSubscriptions -ExcludeSubscription "CDE","FGH" -Path C:\findings.json