Trigger-PolicyInitiativeRemediation

1.3

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
The owner has unlisted this package. This could mean that the script is deprecated or shouldn't be used anymore.

Installation Options

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

Install-Script -Name Trigger-PolicyInitiativeRemediation -RequiredVersion 1.3

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

August 13, 2020 1.3
Added parameter -ADO
This parameter provides the option to run this script leveraging an SPN in Azure DevOps.
Special Thanks to Nikolay Sucheninov and the VIAcode team for working to get these scripts
integrated and operational in Azure DevOps to streamline "Policy as Code" processes with version
drift detection and remediation through automation!

FileList

Version History

Version Downloads Last updated
1.8 96 5/25/2021