Set-DfsrMember
Set-DfsrMember
Modifies member computer information in a replication group.
Sintaxis
Parameter Set: Default
Set-DfsrMember [-GroupName] <String[]> [-ComputerName] <String[]> [[-Description] <String> ] [[-DomainName] <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Set-DfsrMember cmdlet modifies member computer information in a replication group. Members of a replication group host replicated folders. You can modify the description of a member.
Parámetros
-ComputerName<String[]>
Specifies an array of names of member computers. You can use a comma separated list and the wildcard character (*).
Alias |
MemberList,MemList |
¿Requerido? |
true |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
true |
-Description<String>
Specifies a description for a member computer.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
3 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-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.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
101 |
Valor predeterminado |
[Current Domain] |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
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.
Alias |
RG,RgName |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue, ByPropertyName) |
¿Aceptar caracteres comodín? |
true |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
- Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, string
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
- Microsoft.DistributedFileSystemReplication.DfsrMember
Ejemplos
Example 1: Update the description for a member
This command updates the description for the computer named SRV01 in the group named RG07. The console displays the DfsrMember object, which includes the updated description.
PS C:\> Set-DfsrMember -GroupName "RG07" -Member "SRV01" -Description "Waukegan Branch Office Server"