Which Windows PowerShell cmdlet should you run

You need to generate a list of all Office 365 users who have NOT accessed their mailboxes during the past 90 days. Which Windows PowerShell cmdlet should you run?

A. Get-MsolContact
B. Get-LogonStatistics
C. Get-Mailbox
D. Get-MailContact
E. Get-RemovedMailbox
F. Get-RoIeGroupMember
G. Get-MailboxStatistics
H. Get-User
I. Get-Group
J. Get MsolU
K. Get-ManagementRoleAssignment
L. Get-Recipient

Correct Answer: G

Use the Get-MailboxStatistics cmdlet to obtain information about a mailbox, such as the size of the mailbox, the number of messages it contains, and the last time it was accessed.

Get-LogonStatistics is only for active sessions

Leave a Reply

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