This PowerShell module that provides pre-defined Pester (PSGallery, GitHub) tests for Azure Policy and Initiative definitions. It tests the syntax of the Azure Policy and Initiative definition JSON files.
Install-Module -Name AzPolicyTest -Force
- PowerShell Gallery: AzPolicyTest
- Tao's Blog post PowerShell Module AzPolicyTest V2.0 Released