Grant-DfsrDelegation
Grant-DfsrDelegation
Grants users and groups permissions in a replication group.
Sintassi
Parameter Set: Default
Grant-DfsrDelegation [-GroupName] <String[]> [-AccountName] <String[]> [[-DomainName] <String> ] [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descrizione dettagliata
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 Servizi di dominio Active Directory® () portions of the replication topology, without being domain administrators.
Parametri
-AccountName<String[]>
Specifies an array of security principals to delegate. The security principals include users and groups.
Alias |
nessuno |
Obbligatorio? |
true |
Posizione? |
2 |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
True (ByPropertyName) |
Accetta caratteri jolly? |
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.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
101 |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
True (ByPropertyName) |
Accetta caratteri jolly? |
false |
-Force
Forces the command to run without asking for user confirmation. Use this parameter for scripted delegation of permissions.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-GroupName<String[]>
Specifies an array of names of replication groups. You can specify multiple groups, separated by commas, as well as wildcard characters (*).
Alias |
RG,RgName |
Obbligatorio? |
true |
Posizione? |
1 |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
True (ByValue, ByPropertyName) |
Accetta caratteri jolly? |
false |
-Confirm
Richiede conferma prima di eseguire il cmdlet.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-WhatIf
Mostra gli effetti dell'esecuzione del cmdlet. Il cmdlet non viene eseguito.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
Esempi
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"