Solved

Exchange 2010 Liciencing

Posted on 2014-02-26
2
223 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 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
		$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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
In-place Upgrading Dirsync to Azure AD Connect
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

739 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