Grant-DfsrDelegation
Grant-DfsrDelegation
Grants users and groups permissions in a replication group.
Syntax
Parameter Set: Default
Grant-DfsrDelegation [-GroupName] <String[]> [-AccountName] <String[]> [[-DomainName] <String> ] [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detaillierte Beschreibung
The Grant-DfsrDelegation cmdlet grants users and groups permissions to create replicated folders, connections, members, and memberships inside a replication group. This delegation allows users who are local administrators on servers that run the Distributed File System (DFS) Replication service to administer the Active Directory ®-Domänendienste () portions of the replication topology, without being domain administrators.
Parameter
-AccountName<String[]>
Specifies an array of security principals to delegate. The security principals include users and groups.
Aliasse |
Keiner |
Erforderlich? |
true |
Position? |
2 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
-DomainName<String>
Specifies the NetBIOS name or fully qualified domain name (FQDN) for the domain that contains the replication group. If you do not specify this parameter, the cmdlet uses the domain of the current user.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
101 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
-Force
Forces the command to run without asking for user confirmation. Use this parameter for scripted delegation of permissions.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-GroupName<String[]>
Specifies an array of names of replication groups. You can specify multiple groups, separated by commas, as well as wildcard characters (*).
Aliasse |
RG,RgName |
Erforderlich? |
true |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByValue, ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
-Confirm
Sie werden vor dem Ausführen des Cmdlets zur Bestätigung aufgefordert.
Erforderlich? |
false |
Position? |
named |
Standardwert |
falsch |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-WhatIf
Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.
Erforderlich? |
false |
Position? |
named |
Standardwert |
falsch |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
Beispiele
Example 1: Grant permissions to a group
This command grants permissions to the DFSR Admins security group for the replication group named RG06.
PS C:\> Grant-DfsrDelegation -GroupName "RG06" -AccountName "DFSR Admins"