Share via


Grant-DfsrDelegation

Betrifft: Windows 10, Windows Server Technical Preview

Grant-DfsrDelegation

Grants permissions to security principals for a replication group.

Syntax

Parameter Set: Default
Grant-DfsrDelegation [-GroupName] <String[]> [-AccountName] <String[]> [[-Force]] [[-DomainName] <String> ] [ <CommonParameters>]

Detaillierte Beschreibung

The Grant-DfsrDelegation cmdlet grants users or groups permission to create replicated folders, connections, members, and memberships inside a replication group. Delegation allows users who are local administrators on servers that run the Distributed File System (DFS) Replication service to administer the Active Directory Domain Services (AD DS) portions of the replication topology, without being domain administrators.

Parameter

-AccountName<String[]>

Specifies an array of names of security principals. This cmdlet assigns permissions to the users and groups that this parameter specifies.

Aliase

none

Erforderlich?

true

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-DomainName<String>

Specifies the NetBIOS name or fully qualified domain name (FQDN) for the AD DS domain that contains a replication group. If you do not specify this parameter, the cmdlet uses the domain of the current user.

Aliase

none

Erforderlich?

false

Position?

101

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Force

Erzwingt die Ausführung des Befehls, ohne den Benutzer zur Bestätigung aufzufordern.

Aliase

none

Erforderlich?

false

Position?

100

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-GroupName<String[]>

Specifies an array of names of replication groups.

Aliase

RG,RgName

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

true (ByValue, ByPropertyName)

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -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 Sie per Piping an das Cmdlet übergeben können.

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, String[], String

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Microsoft.DistributedFileSystemReplication.DfsrDelegation

Beispiele

Example 1: Grant delegated permissions

This command grants delegated permissions to the security group named DFSR Admins for a replication group named RG01.

PS C:\> Grant-DfsrDelegation -GroupName "RG01" -AccountName "DFSR Admins"

Verwandte Themen

Get-DfsrDelegation

Revoke-DfsrDelegation