Which three Windows PowerShell commands should you run …

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 user.
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.
Select and Place:

mailboxes for all users in your organization, run the following commands: https://technet.microsoft.com/en-us/library/jj984357(v=exchg.150).aspx

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 user.
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.
Select and Place:

mailboxes for all users in your organization, run the following commands: https://technet.microsoft.com/en-us/library/jj984357(v=exchg.150).aspx

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
$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:



Leave a Reply 0

Your email address will not be published. Required fields are marked *