Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We've got loads of psts sitting on a network drive that is running short of space.

share|improve this question

I didnt find much info on using Powershell to compact PST's, but I did find an app called PSTcompactor. Looks like it was available at one time from a company called GFI as a standalone app, but is now bundled with some other software.

I found the standalone with a quick Google search.

I have to add that I have never used this software and know nothing at all about it and could not recommend it one way or another.

share|improve this answer

I don't think there are any command line utilities that will do this in the way you appear to want. Just having the PST open in Outlook, while sitting idle, should automatically compact them.

If that won't work, you could VBA script out a manual compression of each PST/OST file. See the instructions here:

share|improve this answer

Worth making the distinction between compressing and compacting re. PST files. Compacting removes empty space within the file, and thus reduces its size. Using NTFS compression (as the VBScript link above seems to do) will make the file use less space on the disk, but the wasted space within the file is still there. As far as I can tell there is no way to compact a PST file other than using a 3rd party utility (of which there seems to be a few).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.