Exchange 2010 Liciencing

Posted on 2014-02-26
Last Modified: 2014-03-03
Hi All

I have an exchange 2010, 2008 server on which the EMC is showing that we need 3 enterprise cal licences, is there anyway to identify which accounts are requiring the 3 enterprise licences?

Thanks in advance
Question by:ncomper
LVL 17

Expert Comment

by:Lior Karasenti
ID: 39888666

Accepted Solution

Red-King earned 500 total points
ID: 39889471
I've been playing around with this in powershell.
I've hacked up the script from this Technet page.

Save the content of the code box below in a file e.g. c:\tmp\CALstatus.ps1

Open the Exchange Management Shell and run the script like so to give a count of Enterprise features being used (I'm getting everybody using the Archive feature so that might need to be removed from the script);

[PS] C:\> c:\tmp\CALstatus.ps1

To get a list of users that make up those numbers use the ShowUsers switch e.g.

[PS] C:\> c:\tmp\CALstatus.ps1 -ShowUsers

Param (
	[switch]$ShowUsers = $false

$Users = @()

$UMUsers = 0
$ArchiveUsers = 0
$RetUsers = 0
$MCFUsers = 0
$ASUsers = 0

$AllMailboxes = Get-Mailbox

$AllMailboxes.Identity | foreach {
$Mailbox = Get-Mailbox $_

	if ($Mailbox.UMEnabled)
		$Users += ($Mailbox.Identity).Name

	if ($Mailbox.ArchiveGuid -ne [System.Guid]::Empty)
		$Users += ($Mailbox.Identity).Name

	if ($Mailbox.RetentionPolicy -ne $null)
		$Users += ($Mailbox.Identity).Name

	if ($Mailbox.ManagedFolderMailboxPolicy -ne $null)
		$ManagedFolderLinks = (Get-ManagedFolderMailboxPolicy $Mailbox.ManagedFolderMailboxPolicy).ManagedFolderLinks
		foreach ($FolderLink in $ManagedFolderLinks)
			$ManagedFolder = Get-ManagedFolder $FolderLink

			if ($ManagedFolder.FolderType -eq "ManagedCustomFolder")
				$Users += ($Mailbox.Identity).Name

	$CASMailbox = Get-CASMailbox $_
	if ($CASMailbox.ActiveSyncEnabled -and ($CASMailbox.ActiveSyncMailboxPolicy -ne $null))
		$ASPolicy = Get-ActiveSyncMailboxPolicy $CASMailbox.ActiveSyncMailboxPolicy

		if (($ASPolicy.AllowDesktopSync -eq $False) -or
		($ASPolicy.AllowStorageCard -eq $False) -or
		($ASPolicy.AllowCamera -eq $False) -or
		($ASPolicy.AllowTextMessaging -eq $False) -or
		($ASPolicy.AllowWiFi -eq $False) -or
		($ASPolicy.AllowBluetooth -ne "Allow") -or
		($ASPolicy.AllowIrDA -eq $False) -or
		($ASPolicy.AllowInternetSharing -eq $False) -or
		($ASPolicy.AllowRemoteDesktop -eq $False) -or
		($ASPolicy.AllowPOPIMAPEmail -eq $False) -or
		($ASPolicy.AllowConsumerEmail -eq $False) -or
		($ASPolicy.AllowBrowser -eq $False) -or
		($ASPolicy.AllowUnsignedApplications -eq $False) -or
		($ASPolicy.AllowUnsignedInstallationPackages -eq $False) -or
		($ASPolicy.ApprovedApplicationList -ne $null) -or
		($ASPolicy.UnapprovedInROMApplicationList -ne $null))
			$Users += ($Mailbox.Identity).Name

write-host "==============================" 
write-host "Exchange Feature Usage Report" 
write-host "==============================" 
write-host "" 
Write-Host "Unified Messaging User count: " $UMUsers
Write-Host "Archiving User count: " $ArchiveUsers
Write-Host "Retention User count: " $RetUsers
Write-Host "Managed Custom Folders User count: " $MCFUsers
Write-Host "Advanced Activesync User count: " $ASUsers

	write-host "==================================" 
	write-host "Exchange Enterprise Feature Users" 
	write-host "==================================" 
	Write-Host ""
	Write-Host "The User list follows"
	Write-Host ""

Open in new window


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question