Edit

Clear-ReFSDedupScrubSchedule

Clears the deduplication scrub schedule on a specified ReFS volume.

Syntax

Default (Default)

Clear-ReFSDedupScrubSchedule
    [-Volume] <String>
    [<CommonParameters>]

Description

The Clear-ReFSDedupScrubSchedule cmdlet clears the deduplication scrub schedule on a specified ReFS volume. When you clear the schedule, any pending scrub jobs will be cancelled and the schedule will be reset.

Examples

Example 1

Clear-ReFSDedupScrubSchedule -Volume "D:"

This example clears the deduplication scrub schedule on the D: ReFS volume.

Parameters

-Volume

Specifies the volume on which to clear the ReFS deduplication scrub schedule. Enter one or more volume IDs, drive letters, or volume GUID paths. For drive letters, use the format D:. For volume GUID paths, use the format \\?\Volume{{GUID}}\. Separate multiple volumes with a comma.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Object