?
Solved

Exchange 2010 Liciencing

Posted on 2014-02-26
2
Medium Priority
?
225 Views
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
0
Comment
Question by:ncomper
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Expert Comment

by:Lior Karasenti
ID: 39888666
0
 
LVL 9

Accepted Solution

by:
Red-King earned 2000 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
		$UMUsers++
	}

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

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

	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
				$MCFUsers++
			}
		}
	}

	$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
			$ASUsers++
		}
	}
}

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


if($ShowUsers)
{
	write-host "==================================" 
	write-host "Exchange Enterprise Feature Users" 
	write-host "==================================" 
	Write-Host ""
	Write-Host "The User list follows"
	Write-Host ""
	$Users
}

Open in new window

0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
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

719 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