Get-DfsrDelegation

Gets principals that have permissions for a replication group.

Syntax

Get-DfsrDelegation
   [[-GroupName] <String[]>]
   [[-DomainName] <String>]
   [<CommonParameters>]

Description

The Get-DfsrDelegation cmdlet gets the users and groups that have permission to create replicated folders, connections, members, and memberships for a replication group. For more information about delegation in the Distributed File System (DFS) Replication service, see the documentation for the Grant-DfsrDelegation cmdlet.

Examples

Example 1: Get principals for a replication group

PS C:\> Get-DfsrDelegation -GroupName "RG01"

GroupName   : RG01
AccountName : NT AUTHORITY\SYSTEM
IsInherited : False

GroupName   : RG01
AccountName : TSQA\Domain Admins
IsInherited : False

GroupName   : RG01
AccountName : TSQA\DFSR Admins
IsInherited : False

GroupName   : RG01
AccountName : TSQA\Enterprise Admins
IsInherited : True

This command gets the users and groups that have delegated permissions for the replication group named RG01.

Parameters

-DomainName

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

Type:String
Position:100
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-GroupName

Specifies an array of names of replication groups.

Type:String[]
Aliases:RG, RgName
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:True

Inputs

Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, String[], String

Outputs

Microsoft.DistributedFileSystemReplication.DfsrDelegation