Help Center
Choose product document...
Veeam Backup for Microsoft Office 365 2.0
PowerShell Reference

Test-VEXMailboxResolution

Short Description

Used to test the availability of the mailboxes in prior to a bulk mailbox restore.

Syntax

Test-VEXMailboxResolution [-Credential <pscredential>] [-Mailbox <VEXMailbox[]>] [-Office365Credential <pscredential>] [-Domain <string>] [-Force]  [<CommonParameters>]

Detailed Description

This cmdlet is used to test the availability of the mailboxes in prior to a bulk mailbox restore.

Test-VEXMailboxResolution Note:

This cmdlet requires a PSCredential object. Use Get-Credential to create the PSCredentials object.

For more information on Get-Credential, see https://msdn.microsoft.com/en-us/powershell/reference/5.1/microsoft.powershell.security/get-credential.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Domain

Specifies the mailbox domain.

False

Named

False

False

Force

Indicates that the cmdlet will ignore the certificated upon the connection.

False

Named

False

False

Mailbox

Specifies the mailbox.

False

Named

False

False

Office365Credential

Specifies Office 365 user credentials to connect to the proxy server.

False

Named

False

False

Credential

Specifies Windows user credentials to connect to the proxy server.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This example shows how to test the availability of the mailbox with the name $mailbox:

  1. Run Get-Credential to create a credential object. Type Windows credentials for connecting to the Veeam Backup for Microsoft Office 365 server. Save the result to the $credentials variable
  2. Run Get-VBOExchangeItemRestoreSession to get the active restore session. Save the result to the $session variable.
  3. Run Get-VEXDatabase with the $session variable to get the mailbox database. Save the result to the $database variable.
  4. Run Get-VEXMailbox with the $database variable and Name parameter to get the specific mailbox from the mailbox database.
  5. Run Test-VEXMailboxResolution with the $mailboxes and $credentials variables.

PS C:\PS> $credentials = Get-Credentials

PS C:\PS> $session = Get-VBOExchangeItemRestoreSession

PS C:\PS> $database = Get-VEXDatabase -Session $session

PS C:\PS> $mailboxes = Get-VEXMailbox -Database $database -Name "sales"

PS C:\PS> Test-VEXMailboxResolution -Mailbox $mailboxes -Domain test.local -Credential $credentials

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference