Q1: Sometimes we deleted a folder or a file on a deduped volume. The Free space is not released. How to do a refresh to show the correct result?
A1: The following cmdlet could help to perform a refresh (Figure 1):
Update-DedupStatus
Figure 1: Force a refresh
Q2: How to remove a file on a volume from Deduplication list after the whole volume is already deduped?
A2: Run the following cmdlet:
Expand-DedupFile –path: “X:\folder\file”.
Note: It does not support wildcards in the -Path parameter (Figure 2).
Figure 2: Error when use wildcards
We can do standard PowerShell pipelining to automate for multiple files such as:
dir X:\folder | expand-dedupfile
Here is an example:
Figure 3: Example
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.