Test-MtCisEnsureGuestUserDynamicGroup
SYNOPSIS
Checks if minimum one dynamic group exists with a membership rule targeting guest users.
SYNTAX
Test-MtCisEnsureGuestUserDynamicGroup [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
There should be minimum one dynamic group with a membership rule targeting guest users to ensure that guest users are easily identifiable and can be managed effectively. CIS Microsoft 365 Foundations Benchmark v6.0.1
EXAMPLES
EXAMPLE 1
Test-MtCisEnsureGuestUserDynamicGroup
Returns true if a group with a membership rule targeting guest users exists.
PARAMETERS
-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
RELATED LINKS
https://maester.dev/docs/commands/Test-MtCisEnsureGuestUserDynamicGroup