Set-DedupSchedule

Set-DedupSchedule

Changes configuration settings for data deduplication schedules.

구문

Parameter Set: Query (cdxml)
Set-DedupSchedule [-Name] <String[]> [-CimSession <CimSession[]> ] [-Cores <System.UInt32> ] [-Days <DayOfWeek[]> ] [-DurationHours <UInt32> ] [-Enabled <Boolean> ] [-Full <Boolean> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [-InputOutputThrottle <System.UInt32> ] [-InputOutputThrottleLevel <InputOutputThrottleLevel> {None | Low | Medium | High | Maximum} ] [-Memory <UInt32> ] [-PassThru] [-Priority <Priority> {Low | Normal | High} ] [-ReadOnly <Boolean> ] [-Start <DateTime> ] [-StopWhenSystemBusy <Boolean> ] [-ThrottleLimit <Int32> ] [-Type <Type[]> ] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: InputObject (cdxml)
Set-DedupSchedule [-CimSession <CimSession[]> ] [-Cores <System.UInt32> ] [-Days <DayOfWeek[]> ] [-DurationHours <UInt32> ] [-Enabled <Boolean> ] [-Full <Boolean> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [-InputOutputThrottle <System.UInt32> ] [-InputOutputThrottleLevel <InputOutputThrottleLevel> {None | Low | Medium | High | Maximum} ] [-Memory <UInt32> ] [-PassThru] [-Priority <Priority> {Low | Normal | High} ] [-ReadOnly <Boolean> ] [-Start <DateTime> ] [-StopWhenSystemBusy <Boolean> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]

자세한 설명

The Set-DedupSchedule cmdlet changes configuration settings for one or more data deduplication schedules.

매개 변수

-CimSession<CimSession[]>

원격 세션이나 원격 컴퓨터에서 cmdlet을 실행합니다. 컴퓨터 이름이나 New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 세션 개체를 입력하세요. 기본값은 로컬 컴퓨터 상의 현재 세션입니다.

별칭

Session

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Cores<System.UInt32>

Specifies the maximum percentage of physical cores that a job uses.

별칭

MaximumCoresPercentage

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Days<DayOfWeek[]>

Specifies an array of days of the week on which the server runs the data deduplication job. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Monday
-- Tuesday
-- Wednesday
-- Thursday
-- Friday
-- Saturday
-- Sunday

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-DurationHours<UInt32>

Specifies the number of hours that the server runs the task before canceling it. The value 0 indicates that the server runs the job to completion. This cmdlet safely stops a data deduplication job and does not affect the files that the server is processing when it cancels the job.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Enabled<Boolean>

Indicates whether a data deduplication schedule is enabled.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Full<Boolean>

Indicates that garbage collection jobs free up all deleted or unreferenced data on the volume, if you specify the value GarbageCollection for the Type parameter. If you do not specify this parameter, garbage collection jobs free up space after a system threshold of delete data is exceeded. We recommend that you run garbage collection regularly without specifying this parameter, and then once a month specify this parameter and run garbage collection again.

If you specify the value Scrubbing for the Type parameter, this parameter indicates that scrubbing jobs validate the integrity of all data on the volume. If you do not specify this parameter, the scrubbing job validates only critical metadata and data integrity issues that data deduplication previously encountered. We recommend that you run scrubbing regularly without specifying this parameter, and then once a month specify this parameter and run scrubbing again.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InformationAction<System.Management.Automation.ActionPreference>

별칭

infa

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InformationVariable<System.String>

별칭

iv

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InputOutputThrottle<System.UInt32>

Specifies the amount of input/output throttling applied to the deduplication job. Throttling ensures that deduplication does not interfere with other I/O intensive processes. 이 매개 변수에 허용되는 값은 다음과 같습니다. integers from 0 to 100. If you specify this parameter and the InputOutputThrottleLevel parameter, InputOutputThrottle takes precedence.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-InputOutputThrottleLevel<InputOutputThrottleLevel>

Specifies the amount of I/O throttling that the job provides to ensure that the job does not interfere with other I/O intensive processes. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- None
-- Low
-- Medium
-- High

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Memory<UInt32>

Specifies the maximum percentage of physical computer memory that the data deduplication job can use.

For optimization jobs, we recommend that you set a range from 15 to 50, and a higher memory consumption for jobs that you schedule to run when you specify the StopWhenSystemBusy parameter. For garbage collection and scrubbing jobs, which you typically schedule to run in off hours, you can set higher memory consumption, such as 50.

별칭

MaximumMemoryPercentage

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Name<String[]>

Specifies the name of a data deduplication job schedule.

별칭

none

필수 여부

true

위치

1

기본값

none

파이프라인 입력 허용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-PassThru

작업 중인 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Priority<Priority>

Sets the CPU and I/O priority for the optimization job that you run by using this cmdlet. For jobs that you run when you specify the StopWhenSystemBusy parameter, we recommend that you set this parameter to Low. For typical optimization jobs, we recommend that you set this parameter to Normal.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-ReadOnly<Boolean>

Indicates whether the scrubbing job processes and reports on corruptions that it finds but does not run any repair actions.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Start<DateTime>

Specifies a time to start this job. The default value is 1:45am.

Type the date in a format that is standard for the system locale, such as dd-MM-yyyy (German [Germany]) or MM/dd/yyyy (English [United States]).

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-StopWhenSystemBusy<Boolean>

Indicates whether the server stops the job when the system is busy and retries later. We recommend that you specify this parameter when you set a low priority for the job.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-ThrottleLimit<Int32>

Cmdlet을 실행하도록 설정할 수 있는 동시 작업의 최대 수를 지정합니다. 이 매개 변수를 생략하거나 값으로 0 을 입력하면 Windows PowerShell®은 컴퓨터에서 실행 중인 CIM cmdlet의 수에 따라 cmdlet에 대한 최적의 스로틀 제한을 계산합니다. 스로틀 제한은 현재 cmdlet에만 적용되고, 세션이나 컴퓨터에는 적용되지 않습니다.

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

false

와일드카드 문자 허용 여부

false

-Type<Type[]>

Specifies an array of types of data deduplication jobs. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Optimization
-- GarbageCollection
-- Scrubbing
-- Unoptimization

별칭

none

필수 여부

false

위치

named

기본값

none

파이프라인 입력 허용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

<WorkflowParameters>

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

  • System.String[]
  • Microsoft.Management.Infrastructure.CimInstance#
  • Microsoft.PowerShell.Cmdletization.GeneratedTypes.DedupSchedule.Type[]

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • Microsoft.Management.Infrastructure.CimInstance#

    Microsoft.Management.Infrastructure.CimInstance 개체는 WMI(Windows Management Instrumentation) 개체를 표시하는 래퍼 클래스입니다. 파운드 기호(#) 뒤의 경로는 기본 WMI 개체에 대한 네임 스페이스 및 클래스 이름을 제공합니다.

  • Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Deduplication/MSFT_DedupJobSchedule

    Microsoft.Management.Infrastructure.CimInstance 개체는 WMI(Windows Management Instrumentation) 개체를 표시하는 래퍼 클래스입니다. 파운드 기호(#) 뒤의 경로는 기본 WMI 개체에 대한 네임 스페이스 및 클래스 이름을 제공합니다.

Example 1: Change settings of a data deduplication schedule for a garbage collection job

This command changes the settings of a data deduplication schedule for a garbage collection job named OffHoursGC. The job is scheduled to run on Sundays at 8:00 at normal priority. The command specifies that the server cancels the job after 5 hours if the process has not ended.

PS C:\> Set-DedupSchedule –Name "OffHoursGC" –Type GarbageCollection –Start 08:00 –DurationHours 5 –Days Sunday –Priority Normal

Example 2: Change settings of a data deduplication schedule for a scrubbing job

This command changes the settings of a data deduplication schedule for a scrubbing job named OffHoursScrub. The command starts the scrubbing job at 23:00 on Monday through Friday at normal priority. The StopWhenSystemBusy parameter specifies that the server stops the job when the system is busy and retries later. The DurationHours parameter specifies that the server cancels the job after 6 hours if the process has not ended.

PS C:\> Set-DedupSchedule –Name "OffHoursScrub" –Type Scrubbing –Start 23:00 –StopWhenSystemBusy –DurationHours 6 –Days Monday,Tuesday,Wednesday,Thursday,Friday –Priority Normal

Example 3: Change settings of a data deduplication schedule for an optimization job

This command changes the settings of a data deduplication schedule for an optimization job named MyWeekdayOptimization. The optimization job runs at a normal priority every weekday evening at 8:00. DurationHours specifies that the server cancels the job after 9 hours if the process has not ended.

PS C:\> Set-DedupSchedule –Name "MyWeekendOptimization" –Type Optimization –Days Monday,Tuesday,Wednesday,Thursday,Friday –Start 08:00 –DurationHours 9

관련 항목

Get-DedupSchedule

New-DedupSchedule

Remove-DedupSchedule