Trigger-PolicyEvaluation

1.4

This script takes a SubscriptionID and optionally a ResourceGroup as parameters, allows you to also specify an interval
for how many seconds you want to delay before checking status of the policy evaluation (default is 20 seconds)

Based on the API documented here: https://docs.microsoft.com/en-us/azure/governance/policy/how-to/get-compliance-data#evaluation-triggers
This script takes a SubscriptionID and optionally a ResourceGroup as parameters, allows you to also specify an interval
for how many seconds you want to delay before checking status of the policy evaluation (default is 20 seconds)

Based on the API documented here: https://docs.microsoft.com/en-us/azure/governance/policy/how-to/get-compliance-data#evaluation-triggers

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Trigger-PolicyEvaluation

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Microsoft

Package Details

Author(s)

  • jbritt@microsoft.com

Functions

Add-IndexNumberToArray BuildBody

Dependencies

This script has no dependencies.

Release Notes

November 11, 2020 1.4
Fixed more issues with REST API logic due to updates to Az cmdlets

FileList

Version History

Version Downloads Last updated
1.4 (current version) 78 11/12/2020