Question 97 of 98 from exam SC-400: Microsoft Information Protection Administrator

Question 97 of 98 from exam SC-400: Microsoft Information Protection Administrator

Question

HOTSPOT - You have a Microsoft 365 tenant that uses a domain named contoso.com.

A user named User1 leaves your company.

The mailbox of User1 is placed on Litigation Hold, and then the account of User1 is deleted from Azure Active Directory (Azure AD)

You need to copy the content of the User1 mailbox to a folder in the existing mailbox of another user named User2

How should you complete the PowerShell command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Answer Area

$InactiveMailbox = Get-Mailbox -InactiveMailboxOnly -Identity <distinguished name>
lw [iw StnactiveMailbox.DistinguishedName

INew-Mailbox InactiveMailbox

INew-MailboxRestoreRequest | |-LitigationHoldEnabled

Restore-Recoverableltems |-RetentionHoldEnabled

Set-Mailbox |-SourceMailbox

-TargetMailbox user2@contoso.com -TargetRootFolder “Userl Mailbox”

Explanations

Answer Area

$InactiveMailbox = Get-Mailbox -InactiveMailboxOnly -Identity <distinguished name>
lw [iw StnactiveMailbox.DistinguishedName

INew-Mailbox InactiveMailbox

INew-MailboxRestoreRequest | |-LitigationHoldEnabled

Restore-Recoverableltems |-RetentionHoldEnabled

[Set-Mailbox |-SourceMailbox

-TargetMailbox user2@contoso.com -TargetRootFolder “Userl Mailbox”

References: https://docs.microsoft.com/en-us/microsoft-365/compliance/restore-an-inactive-mailbox?view=o365-worldwide.