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-Manage
mentRoleAssignment
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
Explanation:
We use
the Get-MsolUser -UnlicensedUsersOnly command to retrieve all users which do not have a Microsoft Exchange Online license.
The Get-MsolUser cmdlet can be used to retrieve an individual user, or list of users.
The -UnlicensedUsersOnly [
arameter filters for only users who are not assigned a license.
Topic 4, Implement and manage identities by using DirSync