This is a continuation of a similar post from Shaun TPG.
I am attempting to un-dedup files that I recently added to my "excluded" parameters in my Dedup job settings (.pst's). I excluded both "pst" extension types, and a specific folder. Now I am trying to unoptimize these files that are still deduped. I can see that my "InPolicyFiles" no longer matches my "OptimizedFiles"\
I have two questions:
- How do I determine which files are deduplicated and not? I cannot run the cmdlet "get-dedupestatus" on a specific folder
- How do I expand a file that should no longer be deduped? The cmdlet "expand-dedupfile" was mentioned in a previous thread. However, when running on a specific file, I get no output. I also included the "-asjob" function, but am unable to get any results from the "get-dedupjob". The Optimized file total also does not change.
- How do I expand an entire directory? Even if I was able to get the cmdlet "expand-dedupfile" to work, when piping in a directory, the command returns error "0x80070005 - Access is Denied". I have verified ownership and full permissions, and running the command manually on an individual file works correctly. The previous post about unoptimizing a single directory also has a user experiencing the same issue. I should note that I do not get any "access denied" message when running the command on an individual file, although I still do not have any output/results.
Dedupe is really cool, but I've lost many files due to corruption, and beginning to rethink it's value in a production environment.
Thanks in advance.
PS D:\file archives\Exchange Mail Archives> dir "d:\file archives\exchange mail archives" | expand-dedupfile
expand-dedupfile : MSFT_DedupVolume.Path='D:\file archives\exchange mail archives\folder1' - HRESULT 0x80070005,
Access is denied.
At line:1 char:49
+ dir "d:\file archives\exchange mail archives" | expand-dedupfile
+
~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (MSFT_DedupVolume:ROOT/Microsoft/...SFT_DedupVolume) [Expand-DedupFile
], CimException
+ FullyQualifiedErrorId : HRESULT 0x80070005,Expand-DedupFile
expand-dedupfile : MSFT_DedupVolume.Path='D:\file archives\exchange mail archives\folder2' - HRESULT 0x80070005,
Access is denied.
At line:1 char:49
+ dir "d:\file archives\exchange mail archives" | expand-dedupfile
+
~~~~~~~~~~~~~~~~
+ CategoryInfo : PermissionDenied: (MSFT_DedupVolume:ROOT/Microsoft/...SFT_DedupVolume) [Expand-DedupFile
], CimException
+ FullyQualifiedErrorId : HRESULT 0x80070005,Expand-DedupFile