Search the Community
Showing results for tags 'powershell'.
I've been seeing quite a few requests about knowing which files are on which drives in case of needing a recovery for unduplicated files. I know the dpcmd.exe has some functionality for listing all files and their locations, but I wanted something that I could "tweak" a little better to my needs, so I created a PowerShell script to get me exactly what I need. I decided on PowerShell, as it allows me to do just about ANYTHING I can imagine, given enough logic. Feel free to use this, or let me know if it would be more helpful "tweaked" a different way... Prerequisites:
If you have a large amount of "other" files taking up space on your pool drive and would like to reduce the amount of "wasted" space then... Warning doing this could stuff up you pc so go carefully and if it goes to pot its not my fault Your friend here is the powershell cmdlet "vssadmin" if you run the command via an elevated powershell window vssadmin list shadowstorage it will list your vss stores etc and then run vssadmin resize shadowstorage /on=[drive letter]: /For=[drive letter]: /MaxSize=[maximum size] See http://woshub.com/how-to-clean-up-system-volume