Trigger-PolicyInitiativeRemediation

1.8

This script takes a PolicyAssignmentId, SubscriptionID or ManagementGroupID as parameters, analyzes the scope targeted
to determine what Azure Policy Initiatives are available to remediate, and triggers the creation of these remediation tasks
to the targeted scope. Leverage for -force switch to bypass the prompt at the end of script execution to ensure
select execut
This script takes a PolicyAssignmentId, SubscriptionID or ManagementGroupID as parameters, analyzes the scope targeted
to determine what Azure Policy Initiatives are available to remediate, and triggers the creation of these remediation tasks
to the targeted scope. Leverage for -force switch to bypass the prompt at the end of script execution to ensure
select execution (given all parameters are provided)

Show more

Installation Options

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

Install-Script -Name Trigger-PolicyInitiativeRemediation

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

May 05, 2021 1.8
Minor updates
* Huge thanks to Rob Beyreis (https://github.com/robey-ms) Principal Svc Eng Mgr at Microsoft for fixing the following
* Fixed logic for ManagementGroupID for policy initiative remediation.

FileList

Version History

Version Downloads Last updated
1.8 (current version) 96 5/25/2021