Set-DfsrGroupSchedule
적용 대상: Windows 10, Windows Server Technical Preview
Set-DfsrGroupSchedule
Modifies a replication group schedule.
구문
Parameter Set: ScheduleNameParameterSet
Set-DfsrGroupSchedule [-GroupName] <String[]> [[-UseUTC] <Boolean> ] [[-ScheduleType] <GroupScheduleType> {Always | Never} ] [[-DomainName] <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: CustomScheduleParameterSet
Set-DfsrGroupSchedule [-GroupName] <String[]> [[-UseUTC] <Boolean> ] [-Day] <DayOfWeek[]> [-BandwidthDetail] <String> [[-DomainName] <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
자세한 설명
The Set-DfsrGroupSchedule cmdlet modifies a schedule for a replication group. Distributed File System (DFS) Replication schedules control the availability and bandwidth usage of replication.
By default, DFS Replication schedules replication 24 hours per day, 7 days per week with full bandwidth as the recommended configuration.
매개 변수
-BandwidthDetail<String>
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
별칭 |
none |
필수 여부 |
true |
위치 |
4 |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Day<DayOfWeek[]>
Specifies a day of the week. You can specify either an enumerated string value or its corresponding integer value. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Sunday (0)
-- Monday (1)
-- Tuesday (2)
-- Wednesday (3)
-- Thursday (4)
-- Friday (5)
-- Saturday (6)
별칭 |
none |
필수 여부 |
true |
위치 |
3 |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
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 current domain.
별칭 |
none |
필수 여부 |
false |
위치 |
101 |
기본값 |
none |
파이프라인 입력 허용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-GroupName<String[]>
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 (*).
별칭 |
RG,RgName |
필수 여부 |
true |
위치 |
1 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByValue,ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-ScheduleType<GroupScheduleType>
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. 이 매개 변수에 허용되는 값은 다음과 같습니다. Never (0) and Always (1). You can specify either an enumerated string value or its corresponding integer value for this parameter.
별칭 |
none |
필수 여부 |
false |
위치 |
3 |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-UseUTC<Boolean>
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.
별칭 |
none |
필수 여부 |
false |
위치 |
2 |
기본값 |
none |
파이프라인 입력 허용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Confirm
cmdlet을 실행하기 전에 확인 메시지를 표시합니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-WhatIf
cmdlet이 실행되는 경우 발생할 결과를 보여 줍니다. cmdlet은 실행되지 않습니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
- Microsoft.DistributedFileSystemReplication.DfsReplicationGroup
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
- Microsoft.DistributedFileSystemReplicationDfsrgroupSchedule
예
Example 1: Modify a group schedule
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.
PS C:\> Set-DfsrGroupSchedule -GroupName "RG01" -ScheduleType Always
Example 2: Modify a group schedule to prevent replication
This command uses the Set-DfsrGroupSchedule cmdlet to modify the RG01 replication group schedule to prevent all replication from 9AM to 5PM Monday through Friday, with all other intervals replicating at full bandwidth.
PS C:\> Set-DfsrGroupSchedule -GroupName "RG01" -Day Monday,Tuesday,Wednesday,Thursday,Friday -BandwidthDetail ffffffffffffffffffffffffffffffffffff00000000000000000000000000000000ffffffffffffffffffffffffffff