MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

How to find Exchange server license

For many reasons you will need to check the available CAL for your exchange environment, for exchange 2016 that can be implemented using command “Get-ExchangeServerAccessLicenseUser” as will be described.

You should use the Get-ExchangeServerAccessLicenseUser cmdlet to return a list of unique users for the specified license name as following:

“Get-ExchangeServerAccessLicenseUser -LicenseName <String>”

The license name should be “Exchange Server 2016 Standard CAL” or “Exchange Server 2016 Enterprise CAL”

This cmdlet returns a collection of unique users for the specified license name. The list of unique users represents an estimate of your licenses when you run this cmdlet

For more reasons you may need to return the licenses count as the following cmdlets:


Get-ExchangeServerAccessLicenseUser -LicenseName ((Get-ExchangeServerAccessLicense | ? {$_.UnitLabel -eq “CAL”}).licenseName)[0] | measure | select Count

Get-ExchangeServerAccessLicenseUser -LicenseName ((Get-ExchangeServerAccessLicense | ? {$_.UnitLabel -eq “CAL”}).licenseName)[1] | measure | select Count


Or if you are not sure with one is the standard/enterprise, just make another filter like this;

Standard CALs:

Get-ExchangeServerAccessLicenseUser -LicenseName (Get-ExchangeServerAccessLicense | ? {($_.UnitLabel -eq “CAL”) -and ($_.LicenseName -like “*Standard*”)}).licenseName | measure | select Count

Enterprise CALs:

Get-ExchangeServerAccessLicenseUser -LicenseName (Get-ExchangeServerAccessLicense | ? {($_.UnitLabel -eq “CAL”) -and ($_.LicenseName -like “*Enterprise*”)}).licenseName | measure | select Count

Ratish Nair

Microsoft MVP | Office Servers and Services

Team @MSExchangeGuru


Leave a Reply

Categories

Archives

MSExchangeGuru.com