public/cisa/@templateps1.txt

<#
.SYNOPSIS
    Checks ...
 
.DESCRIPTION
 
    Control Should/Must description
 
.EXAMPLE
    FunctionName
 
    Returns true if ...
#>
 
function FunctionName {
    [CmdletBinding()]
    [OutputType([bool])]
    param()
 
    ######
 
    $testResult = $false
 
    if ($testResult) {
        $testResultMarkdown = "Well done. Your tenant has notifications for role activations:`n`n%TestResult%"
    } else {
        $testResultMarkdown = "Your tenant does not have notifications on role activations."
    }
    Add-MtTestResultDetail -Result $testResultMarkdown
 
    return $testResult
}