How to use PowerShell to look up licenses for a Microsoft Intune subscription
The information below describes how to use Windows PowerShell to determine the number of free and used Microsoft Intune licenses.
To view the number of free and used licenses on a Microsoft Intune subscription, run the following PowerShell commands:
- From a PowerShell prompt, run $creds = Get-Credential
- A pop-up window will prompt for credentials. Enter your Microsoft Intune credentials.
- Run Connect-MsolService -Credential $creds
- Run Get-MsolAccountSku
A list of the Account ID
, the Active Units
and the Consumed Units
will appear. Note that this will also display any Microsoft Office 365 licenses on the subscription.
Article ID: 3117663 - Last Review: 11/16/2015 06:28:00 - Revision: 1.0