Share via


Get-DfsrConnectionSchedule

Get-DfsrConnectionSchedule

Gets a connection schedule between members of a replication group.

Syntaxe

Parameter Set: Default
Get-DfsrConnectionSchedule [[-GroupName] <String[]> ] [-SourceComputerName] <String> [-DestinationComputerName] <String> [[-DomainName] <String> ] [ <CommonParameters>]

Description détaillée

The Get-DfsrConnectionSchedule cmdlet gets a connection schedule.

DFS Replication DFS Replication are the logical partnerships between members in a replication group. The DFS Replication service uses the Remote Procedure Call (RPC) protocol to communicate between servers. DFS Replication schedules control the availability and bandwidth usage of replication.

Paramètres

-DestinationComputerName<String>

Specifies the name of the receiving computer. A receiving computer is also called an inbound or downstream computer.

Alias

ReceivingMember,RMem

Obligatoire ?

true

Position ?

3

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-DomainName<String>

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.

Alias

none

Obligatoire ?

false

Position ?

101

Valeur par défaut

[Current Domain]

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

-GroupName<String[]>

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

Alias

RG,RgName

Obligatoire ?

false

Position ?

1

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByValue, ByPropertyName)

Accepter les caractères génériques ?

true

-SourceComputerName<String>

Specifies the name of the sending computer. A sending computer is also called an outbound or upstream computer.

Alias

SendingMember,SMem

Obligatoire ?

true

Position ?

2

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • Microsoft.DistributedFileSystemReplication.DfsrConnectionSchedule, string

Exemples

Example 1: Get a connection schedule

This command gets the connection-based replication schedule from the server named SRV02 to the server named SRV01. Because the administrator has not specified a custom schedule for the connection, the connection inherits the schedule settings from the replication group.

PS C:\> Get-DfsrConnectionSchedule -GroupName "RG24" -SourceComputerName "SRV02" -DestinationComputerName "SRV01"

Example 2: Get a custom connection schedule

This command gets the connection-based replication schedule from the server named SRV01 to the server named SRV02. The cmdlet gets a custom connection schedule that blocks replication from 9 A.M. to 5 P.M. Monday through Friday (represented by zeros in the output), and allows full bandwidth replication for all remaining time blocks.

PS C:\> Get-DfsrConnectionSchedule -GroupName "RG24" -SourceComputerName "SRV01" -DestinationComputerName "SRV02"

Rubriques connexes

Set-DfsrConnectionSchedule