Skip to content

Grant-ManagedByPermission

SYNOPSIS

Gebruikers manager maken van een groep of DL

SYNTAX

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

DESCRIPTION

Maak gebruikers 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 © ©n per © ©n intikken.

EXAMPLES

EXAMPLE 1

Grant-ManagedByPermission

Start het script in interactive modus op

EXAMPLE 2

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

Voeg de users in de Array toe als beheerders 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 die rechten moeten krijgen

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

Required: True
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