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? license.
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
Explanation:
We use the Get-MsolUser –UnlicensedUsersOnlycommand 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 [<SwitchParameter>] parameter filters for only users who are not assigned a