Maintain control of your Microsoft 365 data
Post Reply
JuliReid
Novice
Posts: 6
Liked: never
Joined: May 21, 2019 12:21 pm
Full Name: Juli Reid
Contact:

Export-VexItem as a batch

Post by JuliReid »

Is it possible to run the Export-VexItem as a batch if you have multiple pst files you need to create? It's really slow for multiples and batching would make it much quicker. The MS new-mailboxexport for exchange 2010 and 2013 has this capability with a -batchname parameter.
nielsengelen
Product Manager
Posts: 5618
Liked: 1177 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Export-VexItem as a batch

Post by nielsengelen »

You could put it in a for loop to extract multiple in a batch but from the looks of it, there is no -batchname parameter.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
JuliReid
Novice
Posts: 6
Liked: never
Joined: May 21, 2019 12:21 pm
Full Name: Juli Reid
Contact:

Re: Export-VexItem as a batch

Post by JuliReid »

I am using a for-each but even then it only processes one mailbox at a time, rather than multiples as a batch would. I didn't find any parameters that would appear to allow batching either which was why I asked. If I have say 20 that I need to export to pst it takes at the very minimum 2 entire days to process.
Mike Resseler
Product Manager
Posts: 8044
Liked: 1263 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Export-VexItem as a batch

Post by Mike Resseler »

Juli,

How do you do it today (that it takes 2 entire days...). Do you start a restore session from scratch for each item?
JuliReid
Novice
Posts: 6
Liked: never
Joined: May 21, 2019 12:21 pm
Full Name: Juli Reid
Contact:

Re: Export-VexItem as a batch

Post by JuliReid »

I start a single restore session and use a foreach loop in my powershell with a csv input. I am open to anything that will make it faster.
Polina
Veeam Software
Posts: 2939
Liked: 681 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Export-VexItem as a batch

Post by Polina »

Juli,

Try increasing the number of sessions - one session per each export operation.
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests