Tests/Integration/MSFT_AuditPolicySubcategory.config.ps1


configuration 'MSFT_AuditPolicySubcategory_Config' 
{
    param 
    (
        [Parameter(Mandatory = $true)]
        [System.String]
        $Name,
        
        [Parameter(Mandatory = $true)]
        [System.String]
        $AuditFlag,

        [Parameter(Mandatory = $true)]
        [System.String]
        $AuditFlagEnsure
    )

    Import-DscResource -ModuleName 'AuditPolicyDsc'
    
    node localhost 
    {
        AuditPolicySubcategory Integration_Test
        {
            Name      = $Name
            AuditFlag = $AuditFlag
            Ensure    = $AuditFlagEnsure
        }
    }
}