PowerTip: Use PowerShell to Get Licensed Users in Office 365

Doctor Scripto

Summary: Use Windows PowerShell to get a list of users who are licensed in Office 365.

Hey, Scripting Guy! Question How can I get a list of all users that are licensed in Office 365?

Hey, Scripting Guy! Answer Use the Get-Msoluser cmdlet from the MSOnline module and filter on the IsLicensed property:

Get-Msoluser | Where { $_.Islicensed }


Discussion is closed.

Feedback usabilla icon