Get-DfsrMember
Get-DfsrMember
Gets member computers in a replication group.
Syntax
Parameter Set: Default
Get-DfsrMember [[-GroupName] <String[]> ] [[-ComputerName] <String[]> ] [[-DomainName] <String> ] [ <CommonParameters>]
Detaillierte Beschreibung
The Get-DfsrMember cmdlet gets member computers in a replication group. Members of a replication group host replicated folders.
Parameter
-ComputerName<String[]>
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.
Aliasse |
MemberList,MemList |
Erforderlich? |
false |
Position? |
2 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByPropertyName) |
Platzhalterzeichen akzeptieren? |
true |
-DomainName<String>
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.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
101 |
Standardwert |
[Current Domain] |
Pipelineeingaben akzeptieren? |
True (ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
-GroupName<String[]>
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.
Aliasse |
RG,RgName |
Erforderlich? |
false |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByValue, ByPropertyName) |
Platzhalterzeichen akzeptieren? |
true |
<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.
- Microsoft.DistributedFileSystemReplication.DfsReplicationGroup
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
- Microsoft.DistributedFileSystemReplication.DfsrMember
Beispiele
Example 1: Get a member in a replication group
This command gets the member computer named SRV01 that belongs to the group named RG07.
PS C:\> Get-DfsrMember -GroupName "RG07" -ComputerName "SRV01"