SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

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

Anyone knows the location of temporary files that Export-SPWeb uses when exporting sites? One of our servers ran out of drive space when exporting the site and now I can't find the files created by the cmdlet.

share|improve this question
up vote 0 down vote accepted

It uses the environment variable %tmp% (not %temp%). If I remember right, Todd Klindt talked about it in this netcast:

share|improve this answer

you can specify the path

export-spweb -identity http://host -path D:\Backups\file.cmp -force

If you do not have space on disk, you can create shared folder and give rights to write.

share|improve this answer
Or just use a drive analyse tool to find what's eating up your space. I usually use Sequoiaview:… – Jasper Feb 23 '12 at 10:01

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.