Export (0) Print
Expand All

Get-DfsrConnectionSchedule

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-DfsrConnectionSchedule

Gets a connection schedule between members of a replication group.

Syntax

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




Detailed Description

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.

Parameters

-DestinationComputerName<String>

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


Aliases

ReceivingMember,RMem

Required?

true

Position?

3

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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 the 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 (*).


Aliases

RG,RgName

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

true

-SourceComputerName<String>

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


Aliases

SendingMember,SMem

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.DistributedFileSystemReplication.DfsrConnectionSchedule, string

Examples

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"
              

GroupName : RG24
SourceComputerName : SRV02
DestinationComputerName : SRV1
DomainName : corp.contoso.com
ConnectionGuid : b3249896-e3ec-468b-a06a-31946d86e426
UseUTC : False
HoursReplicated : 168
BandwidthDetail : Using the replication group's schedule

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"
              

GroupName : RG24
SourceComputerName : SRV01
DestinationComputerName : SRV22
DomainName : corp.contoso.com
ConnectionGuid : fb4a502f-48d1-4926-ae29-c1e90b32c139
UseUTC : False
HoursReplicated : 128
BandwidthDetail : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000FFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000FFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000FFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000000000000000000000000000FFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFF

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft