June 26th, 2015

PowerTip: Use PowerShell to Get Licensed Users in Office 365

Doctor Scripto
Scripter

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 }

Category
Scripting

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.