Maintain control of your Microsoft 365 data
Post Reply
cerberus
Expert
Posts: 155
Liked: 15 times
Joined: Aug 28, 2015 2:45 pm
Full Name: Mirza
Contact:

Export user mailbox (Export-VEXItem) as a background job?

Post by cerberus »

Hello,

Does anyone know if its possible to run Export-VEXItem without tying up a interactive PowerShell terminal? It seems that I have to keep the terminal open for the export to run.

We are trying to automate the export as part of the user termination script, would be useful to issue "Export-VEXItem" to start the mailbox dump to pst, and keep going with the termination process, instead of waiting for the export to complete (this can be multiple hours for large mailboxes).

Using VBM v7 and mailbox backup data is in S3 bucket.
HannesK
Product Manager
Posts: 14322
Liked: 2890 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Export user mailbox (Export-VEXItem) as a background job?

Post by HannesK »

Hello,
can Start-Job maybe help?
Microsoft wrote:A PowerShell background job runs a command without interacting with the current session. When you start a background job, a job object returns immediately, even if the job takes an extended time to finish. You can continue to work in the session without interruption while the job runs.
Best regards,
Hannes
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests