DSCResources/src/cClearDSCTrigger.0.1.Resource.ps1

(Write-DSCResource -KeyProperty Name -Test {
    ((Get-DSCTrigger | Where-Object { $_.Name -like $Name }) -as [bool])
} -Set {
    Get-DSCTrigger | Where-Object { $_.Name -like $Name } | Unregister-DSCTrigger -Confirm:$false
} -Property @{
    Name = 'A wildcard pattern describing the name of the DSC triggers to remove'
})