How should you complete the relevant Windows PowerShell command?

HOTSPOT
Contoso, Ltd., has an Office 365 tenant. All employees have Exchange Online mailboxes. You have an
existing ActiveSync mailbox policy named Contoso-ActiveSync-Policy that applies to all sales users.
You must prevent Sales users from copying their Exchange contacts to the native address book of
their mobile devices while they are using OWA for Devices.
You need to ensure that all sales users comply with the new policy.
How should you complete the relevant Windows PowerShell command? To answer, select the
appropriate Windows PowerShell segment from each list in the answer area.

HOTSPOT
Contoso, Ltd., has an Office 365 tenant. All employees have Exchange Online mailboxes. You have an
existing ActiveSync mailbox policy named Contoso-ActiveSync-Policy that applies to all sales users.
You must prevent Sales users from copying their Exchange contacts to the native address book of
their mobile devices while they are using OWA for Devices.
You need to ensure that all sales users comply with the new policy.
How should you complete the relevant Windows PowerShell command? To answer, select the
appropriate Windows PowerShell segment from each list in the answer area.

Answer:

Explanation:
* Box 1: Get-Mailbox
Collect the Exchange Online Users.
This cmdlet is available in on-premises Exchange Server 2016 and in the cloud-based service. Some
parameters and settings may be exclusive to one environment or the other.
Use the Get-Mailbox cmdlet to view mailbox objects and attributes, populate property pages, or
supply mailbox information to other tasks.
* Box 2: New-OwaMailBoxPolicy
Create a new web mailbox policy.
This cmdlet is available in on-premises Exchange Server 2016 and in the cloud-based service. Some
parameters and settings may be exclusive to one environment or the other.
Use the New-OwaMailboxPolicy cmdlet to create Outlook on the web mailbox policies.
* Box 3: Set-OwaMailboxPolicy
Use the Set-OwaMailboxPolicy cmdlet to configure the new policy that was created with NewOwaMailBoxPolicy.
Parameters include –AllowCopyContactsToDeviceAddressBook.
Box 4-Box 5: Set-Mailbox -OwaMailboxPolicy
Apply the OwaMailBoxPolicy to the Exchange Online users.

The Set-Mailbox cmdlet is available in on-premises Exchange Server 2016 and in the cloud-based
service. Some parameters and settings may be exclusive to one environment or the other.
Use the Set-Mailbox cmdlet to modify the settings of existing mailboxes.
Incorrect:
* Not Get-MsolUser
The Get-MsolUser cmdlet can be used to retrieve an individual user, or list of user, but is applies only
to Azure, Office 365, Windows Intune. Here we need the Exchange online users.
* Not New-ActiveSyncMailboxPolicy
AllowCopyContactsToDeviceAddressBook

New-OwaMailboxPolicy
https://technet.microsoft.com/en-us/library/dd351067(v=exchg.160).aspx



Leave a Reply 5

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


Kon

Kon

The answer is WRONG.

Get-Mailbox does not list any ActiveSync Policies.
Get-CASMailbox does that.

Correct answer:
Get-CASMailbox
New-OwaMailboxPolicy
Set-OwaMailboxPolicy
Set-CASMailbox -OwaMailboxPolicy

Marty McFly

Marty McFly

Agree, as always, with Anna and Kon — get-casmailbox