Get-DfsrGroupSchedule

Get-DfsrGroupSchedule

Retrieves a replication group schedule.

Syntax

Parameter Set: Default
Get-DfsrGroupSchedule [[-GroupName] <String[]> ] [[-DomainName] <String> ] [ <CommonParameters>]

Detailed Description

The Get-DfsrGroupSchedule cmdlet retrieves a schedule from a specified replication group. DFS Replication schedules control the availability and bandwidth usage of replication. By default, DFS Replication schedules replication 24 hours a day, 7 days a week with full bandwidth as the recommended configuration.

The DFS Replication Get-* cmdlets are useful for pipeline operations or inventory.

Parameters

-DomainName<String>

Specifies a NetBIOS or fully qualified domain name (FQDN) for an Active Directory domain containing the replication group. If you do not specify this parameter, the cmdlet uses the current domain of the 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. If you do not specify this parameter, the cmdlet queries for all participating replication groups. You can specify multiple groups, separated by commas, as well as wildcard characters (*).

Aliases

RG,RgName

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

true

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

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.DfsRGroupSchedule

Examples

Example 1: Get a group schedule

This command uses the Get-DfsrGroupSchedule cmdlet to display the replication group schedule for a resource group named RG01.

PS C:\> Get-DfsrGroupSchedule -GroupName "RG01"

Set-DfsrGroupSchedule