PowerShell script exchange
Post Reply
a.mikhalevskii
Novice
Posts: 3
Liked: never
Joined: Nov 13, 2023 6:44 am
Full Name: Andrei Mihalevskii
Contact:

How use Powershell, for Veeam Explorer for Microsoft Exchange ?

Post by a.mikhalevskii »

Hello. Our infrastructure has been encrypted. Now we want to restore the Exchange databases. We have the files, Veeam Explorer for Microsoft Exchange sees the databases perfectly and can restore to a new Exchange mailbox. 70 bases, 1500 people. I don't want to do this manually. Is there any way to automate the process ? When I open the base using Veeam Explorer for Microsoft Exchange, Powershell does not return any arguments.

The following commnadlets return nothing:

Start-VBRExchangeItemRestoreSession
Get-VBRExchangeItemRestoreSession
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: How use Powershell, for Veeam Explorer for Microsoft Exchange ?

Post by Mildur »

Hello Andrei
Now we want to restore the Exchange databases. We have the files, Veeam Explorer for Microsoft Exchange sees the databases perfectly and can restore to a new Exchange mailbox.
Which files exactly? Are you trying to open a database file directly with Veeam Explorer for Exchange or is it a recovery from Veeam backup files?

Those PowerShell commands only works with Veeam Backup files. You need to start a restore session from a Veeam Restore Point first.
Do you have any output when using Get-VBRApplicationRestorePoint? If Veeam doesn't know about restore points with protected exchange inside, the cmdlet Start-VBRExchangeItemRestoreSession has nothing to start:

https://helpcenter.veeam.com/docs/backu ... ml?ver=120

Code: Select all

$restorepoint = Get-VBRApplicationRestorePoint -Exchange
Start-VBRExchangeItemRestoreSession -RestorePoint $restorepoint[0]
Best,
Fabian
Product Management Analyst @ Veeam Software
a.mikhalevskii
Novice
Posts: 3
Liked: never
Joined: Nov 13, 2023 6:44 am
Full Name: Andrei Mihalevskii
Contact:

Re: How use Powershell, for Veeam Explorer for Microsoft Exchange ?

Post by a.mikhalevskii »

Are you trying to open a database file directly with Veeam Explorer for Exchange
Yes. I won't be able to retrieve the data using Powershell?
Do you have any output when using Get-VBRApplicationRestorePoint?
No
Mildur
Product Manager
Posts: 8735
Liked: 2294 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: How use Powershell, for Veeam Explorer for Microsoft Exchange ?

Post by Mildur » 1 person likes this post

PowerShell only works for application aware backups in our Veeam restore points. If you open an EDB file with the Explorer, you only can use the UI.

Best,
Fabian
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests