Microsoft DFSR reference: Modifies a replication group schedule. The syntax and selected example below are adapted from the pinned Windows Server 2025 reference. Module availability, target configuration and delegated permissions determine whether it can run in your environment. Documentation and parameter text: Microsoft, CC BY 4.0; formatting adapted by Cmdlet World. No execution testing is claimed.
Use an account with the target resource permissions documented for Set-DfsrGroupSchedule. Modifying administrative cmdlets may require elevation or delegated administration. This catalog does not assert that ordinary users can execute the command.
Supported environments
Windows / DFSR · Windows Server 2025 documentation; feature/module prerequisites apply
Parameters
-BandwidthDetail (required)
Specifies a custom schedule value string that defines the bandwidth settings for each 15-minute interval block, with 4 blocks to a set, where each set represents 1 hour, and there are 24 sets. The time starts at 00:00 and ends at 24:00. The valid settings on a 15-minute block are 0 through F, with the following mapping of settings: - 0 = No replication - 1 = 16 kilobits per second (Kbps) - 2 = 64 Kbps - 3 = 128 Kbps - 4 = 256 Kbps - 5 = 512 Kbps - 6 = 1 megabit per second (Mbps) - 7 = 2 Mbps - 8 = 4 Mbps - 9 = 8 Mbps - A = 16 Mbps - B = 32 Mbps - C = 64 Mbps - D = 128 Mbps - E = 256 Mbps - F = Full bandwidth replication You must specify a complete value string and include all 24 hourly 4-block sets (for a total of 96 hexadecimal characters). For example: ffffffffffff0000ffff0000ffff00004444000044440000444400004444000044440000ffff0000ffff0000ffffffff
-Confirm
Prompts you for confirmation before running the cmdlet.
-Day (required)
Specifies a day of the week. You can specify either an enumerated string value or its corresponding integer value. The acceptable values for this parameter are: - Sunday (0) - Monday (1) - Tuesday (2) - Wednesday (3) - Thursday (4) - Friday (5) - Saturday (6)
-DomainName
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 current domain.
-GroupName (required)
Specifies an array of names of replication groups. If you do not specify this parameter, the cmdlet applies to all participating replication groups. You can use a comma separated list and the wildcard character (*).
-ScheduleType
Specifies a schedule type with no replication allowed or a full schedule that enables replication for 24 hours a day, 7 days a week using full bandwidth. The acceptable values for this parameter are: Never (0) and Always (1). You can specify either an enumerated string value or its corresponding integer value for this parameter.
-UseUTC
Indicates whether the destination computer uses Coordinated Universal Time (UTC) for its schedule. By default, the destination computer interprets the schedule according to its local time.
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Prerequisites
Windows with the DFSR module and the Windows feature or management tools that provide it. Confirm target connectivity and version compatibility using the linked Microsoft reference.
Security considerations
This cmdlet changes system state. Review every target and parameter in the official reference, test outside production, and prepare an appropriate backup or rollback. Do not execute the example automatically.
This command uses the Set-DfsrGroupSchedule cmdlet to modify the RG01 replication group to allow full replication 24 hours per day, 7 days per week. The command also uses the *ScheduleType* parameter so there is no need to specify any specific bandwidth blocks or days. Source: Microsoft, CC BY 4.0; transcript prompt/output removed. This example was not executed.