Your company uses Office 365. You need to identify which users do NOT have a Microsoft Exchange
Online license assigned to their user account.
Which Windows PowerShell cmdlet should you use?
A.
Get-ManagementRoleAssignment
B.
Get-User
C.
Get-RoleGroupMember
D.
Get-LogonStatistics
E.
Get-RemovedMailbox
F.
Get-MSOLContact
G.
Get-Recipient
H.
Get-Mailbox
I.
Get-Group
J.
Get-MailboxStatistics
K.
Get-MSOLUser
L.
Get-MailContact
K. Get-MSOUser
Agree Conny. Ans: K. Get-MSOLUser
$x = Get-MsolUser -All -UnlicensedUsersOnly []
https://technet.microsoft.com/en-us/library/dn771770.aspx