Get-Dfsr Member

Gets member computers in a replication group.

Syntax

Get-DfsrMember
   [[-GroupName] <String[]>]
   [[-ComputerName] <String[]>]
   [[-DomainName] <String>]
   [<CommonParameters>]

Description

The Get-DfsrMember cmdlet gets member computers in a replication group. Members of a replication group host replicated folders.

Examples

Example 1: Get a member in a replication group

PS C:\> Get-DfsrMember -GroupName "RG07" -ComputerName "SRV01"

GroupName                    : RG07
ComputerName                 : SRV01
DomainName                   : corp.contoso.com
Identifier                   : 5ddc94cd-1602-477d-9e50-a66af5892b67
Description                  : Waukegan Branch Office Server
DnsName                      : SRV01.corp.contoso.com
Site                         : Default-First-Site-Name
NumberOfConnections          : 2
NumberOfInboundConnections   : 1
NumberOfOutboundConnections  : 1
NumberOfInterSiteConnections : -2
NumberOfIntraSiteConnections : 2
IsClusterNode                : False
State                        : Normal

This command gets the member computer named SRV01 that belongs to the group named RG07.

Optional Parameters

-ComputerName

Specifies an array of names of member computers. You can use a comma separated list and the wildcard character ( ). If you do not specify this parameter, the cmdlet gets all members of replication groups specified by using the **DomainName * and GroupName parameters.

Type: String[]
Aliases: MemberList, MemList
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-DomainName

Specifies the NetBIOS name or fully qualified domain name (FQDN) for the Active Directory Domain Service (AD DS) domain that contains a 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
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-GroupName

Specifies an array of names of replication groups. You can use a comma separated list and the wildcard character (*). If you do not specify this parameter, the cmdlet uses all participating replication groups.

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

Inputs

Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Outputs

Microsoft.DistributedFileSystemReplication.DfsrMember