PrepAway - Latest Free Exam Questions & Answers

How should you complete the relevant Windows PowerShell…

HOTSPOT
You are the Office 365 administrator for your company.
Management has requested a report of all Microsoft Exchange ActiveSync-enabled employees and their
devices.
You need to generate a report that contains employee display names and device types.
How should you complete the relevant Windows PowerShell script? To answer, select the appropriate option
from each list in the answer area.
Hot Area:

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:
We use the Get-CASMailbox cmdlet to view the client access settings that are configured on a mailbox. The
setting we are interested in is HasActiveSyncDevicePartnership. This will return a list of all mailboxes that are
configured for ActiveSync and store the results in the $ActiveSyncUsers variable.
We use the Select-Object cmdlet with the Displayname option to display the employee display names from the
mailboxes.
The “Expression={(Get-ActiveSyncDevice –Mailbox $_.Identity).DeviceType \\)}” expression is used to return a
list of Device Types.

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


Leave a Reply