Deduplication Cmdlets in Windows PowerShell

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Data Deduplication

This reference provides cmdlet descriptions and syntax for all Data Deduplication-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Cmdlet Description

Disable-DedupVolume

Disables further data deduplication activity on one or more volumes.

Enable-DedupVolume

Enables data deduplication on the specified volumes, using default settings.

Get-DedupJob

Returns status and information for currently running or queued deduplication jobs.

Get-DedupMetadata

Returns a DeduplicationMetadata object for every volume that has data deduplication metadata.

Get-DedupSchedule

Returns the DeduplicationJobSchedule objects defined on the system.

Get-DedupStatus

Returns a DeduplicationStatus object for every volume that has data deduplication metadata.

Get-DedupVolume

Returns a DeduplicationVolume object for each volume that has data deduplication metadata.

Measure-DedupFileMetadata

Measures deduplication metadata for files in a set of folders on the same volume.

New-DedupSchedule

Creates a new data deduplication schedule and returns a DeduplicationSchedule object.

Remove-DedupSchedule

Deletes the specified DeduplicationSchedule object.

Set-DedupSchedule

Sets data deduplication schedule settings.

Set-DedupVolume

Sets data deduplication volume settings.

Start-DedupJob

Queues a new data deduplication job of the specified type for the specified volumes.

Stop-DedupJob

Cancels one or more specified data deduplication jobs.

Update-DedupStatus

Scans one or more specified volumes to compute fresh data deduplication savings information and returns a DeduplicationStatus object.

注意

To list all the cmdlets that are available, use the Get-Command –Module Deduplication cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

More Information

For more information about the cmdlets, see the following:

-