4

I have an azure virtual machine and due to a broken backup script, it has previously used the entire 127GB of space. My virtual machine is now only using 20GB however I'm still being charged for the full 127GB.

I know I need to trim the disk and in windows 2012 it's a simple case of running in PowerShell:

Optimize-Volume -DriveLetter C -ReTrim -Verbose

But how do I do this in Windows 2008R2?

  • Temporarily mount the volume on a 2012 server perhaps? – Zoredache Jul 7 '14 at 21:24

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.