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.

2 Answers 2


It uses the environment variable %tmp% (not %temp%). If I remember right, Todd Klindt talked about it in this netcast: http://toddklindt.com/blog/Lists/Posts/Post.aspx?ID=313.


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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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