Skip to content

Revoke-ManagedByPermission

SYNOPSIS

Gebruikers managerrecht ontnemen op een groep of DL

SYNTAX

Revoke-ManagedByPermission [-Identity] <String> [[-Users] <String[]>] [[-TaskNr] <Int32>] [<CommonParameters>]

DESCRIPTION

Verwijder gebruikers als manager van een security group of DL. Dit kan voor meerdere gebruikers indien een array doorgegeven worden, of in interactive modus kan men meerdere gebruikers selecteren.

EXAMPLES

EXAMPLE 1

Revoke-ManagedByPermission

Start het script in interactive modus op

EXAMPLE 2

Revoke-ManagedByPermission -Identity 'DL Test' -Users $Array_met_DNs_of_usernames

Verwijderd manager rechten voor de opgegeven users van de DL Test

PARAMETERS

-Identity

De te beheren groep of DL

Type: String
Parameter Sets: (All)
Aliases: GroupName, DistinguishedName, UserPrincipalName, DN

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Users

Een Array van strings met gebruikers van wie de rechten afgenomen moeten worden

Type: String[]
Parameter Sets: (All)
Aliases: User

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

-TaskNr

{{ Fill TaskNr Description }}

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: 0
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

NOTES