Trigger Azure Policy Evaluation in PowerShell
https://docs.microsoft.com/en-us/rest/api/policy-insights/policystates/triggersubscriptionevaluation
Policy States - Trigger Subscription Evaluation (Azure Policy Insights)
Triggers a policy evaluation scan for all the resources under the subscription
Policy States - Trigger Resource Group Evaluation (Azure Policy Insights)
Triggers a policy evaluation scan for all the resources under the resource group.
TechNet gallery is retiring! This script was migrated from TechNet script center to GitHub by Microsoft Azure Automation product group. All the Script Center fields like Rating, RatingCount and DownloadCount have been carried over to Github as-is for the migrated scripts only. Note : The Script Center fields will not be applicable for the new repositories created in Github & hence those fields will not show up for new Github repositories.