Skip to main content

Test-MtCisaActivationNotification

SYNOPSIS​

Checks for notification on role activation

SYNTAX​

Test-MtCisaActivationNotification [-GlobalAdminOnly] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION​

User activation of the Global Administrator role SHALL trigger an alert. User activation of other highly privileged roles SHOULD trigger an alert.

EXAMPLES​

EXAMPLE 1​

Test-MtCisaActivationNotification

Returns true if notifications are set for activation of the highly privileged roles other than Global Admin

EXAMPLE 2​

Test-MtCisaActivationNotification -GlobalAdminOnly

Returns true if notifications are set for activation of the Global Admin role

PARAMETERS​

-GlobalAdminOnly​

Check Global Administrator role only

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction​

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

System.Boolean​

NOTES​

https://maester.dev/docs/commands/Test-MtCisaActivationNotification