Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-DfsrMember

Set-DfsrMember

dfsrpowershell.dll

Synopsis

Modifies member computer information in a replication group.

Syntax

Set-DfsrMember [-GroupName] [-DomainName] [-ComputerName] [-Description] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

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.

Parameters

-ComputerName <String[]>

Specifies an array of names of member computers. You can use a comma separated list and the wildcard character (*).

Aliases

MemberList,MemList

Required?

true

Position

2

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

true

-Description <String>

Specifies a description for a member computer.

Aliases

None

Required?

false

Position

3

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

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.

Aliases

None

Required?

false

Position

101

Default value

[Current Domain]

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

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.

Aliases

RG,RgName

Required?

true

Position

1

Default value

None

Accept pipeline input?

True (ByValue, ByPropertyName)

Accept wildcard characters?

true

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, string

Return Type

Microsoft.DistributedFileSystemReplication.DfsrMember

Notes

None

Examples

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"
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                : True
State                        : Normal

Online Version
Add-DfsrMember
Get-DfsrMember
Remove-DfsrMember