Advanced Windows PowerShell Scripting Video Training

Advanced Windows PowerShell Scripting Video Training
Advanced Windows PowerShell Scripting Video Training

Wednesday, August 22, 2012

Manually start a data deduplication with PowerShell

In some cases you may want to manually start an deduplication process on your Windows Server 2012 storage devices that are configured for data deduplication.

Here we see the same set of files located in three different areas of our e: drive.

clip_image001

To do this, utilize PowerShell.

Type Get-DedupVolume

clip_image002

Since we have not performed any deduplication, we do not have any savings.

Type: Start-DedupJob –Full –Path e: -Type Optimization

You can get the results by typing Get-DedupJob

clip_image003

The Data Deduplication Service is set to manual because it is either activated via a scheduled task or by PowerShell

clip_image004

By executing Get-DedupStatus –Path e:

clip_image005

Since only files that are greater than 32KB can be optimized by data deduplication, only the files that start with Colors will be processed. The total size of these files are 1053KB per instance. The SavedSpace attribute reflects the removed duplicate data plus the reference pointers for the removed data to a full copy of that data.

5 comments:

Anonymous said...

That's a great post.
Thanks a lot!

Anonymous said...

Great post.
Thanks!!

Anonymous said...

Just used this and it worked great! Thanks for the info!

Charles Miller said...

Thanks for this article. Excellent job

Anonymous said...

Brilliant, saves waiting for the schedule to kick in after 3 days

:)