Which three Windows PowerShell commands should you run in sequence?

DRAG DROP

A company has an Office 365 tenant. All employee mailboxes are in Exchange Online. You plan to implement archiving.

The archive name for each archive mailbox must use the following format: “Archive-” followed by the display name of the mailbox.

You need to enable online archives for all mailboxes.

Which three Windows PowerShell commands should you run in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Answer:

Explanation:

You can configure a different archive name when you use Windows PowerShell to enable archive mailboxes. For example, to name archive mailboxes "In-Place Archive – <display name>" when you enable archive mailboxes for all users in your organization, run the following commands:

$users = Get-Mailbox -ResultSize unlimited -Filter { ArchiveStatus -Eq "None" -AND RecipientTypeDetails -eq ‘UserMailbox’}

ForEach ($a in $users) {$a.ArchiveName.Add("In-Place Archive – $a")}

$users | %{Enable-Mailbox $_.Identity -Archive -ArchiveName $_.ArchiveName}

References:

https://technet.microsoft.com/en-us/library/jj984357(v=exchg.150).aspx

Latest 70-347 Dumps Valid Version with 314 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments