BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 01-18-2011, 04:36 PM   #1
Arkanian
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9810
PIN: N/A
Carrier: AT&T
Posts: 130
Default Getting CAL count from database

Please Login to Remove!

Does anyone know if the CAL count is stored in the BES database? I am trying to write an automated report for our telecom department that will check and alert when we get low on CALs.
Offline  
Old 01-18-2011, 05:19 PM   #2
knottyrope
BlackBerry Elite
 
knottyrope's Avatar
 
Join Date: Jan 2008
Location: Massachusetts
Model: DT60
OS: 123456789
PIN: t of blood has been taken
Carrier: AT&T-US with I dee ten tee errors
Posts: 7,325
Default Re: Getting CAL count from database

From command-line, you can do the following:

bcp "select LicenseKey from BESMgmt.dbo.LicenseKeys where type = 0" queryout c:\licensekeys.txt -c -T -R -E -Sdbservername

That will export all installed license keys to the text file specified in the command. Just be sure to change dbservername to your SQL/MSDE server. This needs to be run from a server/machine that has bcp.exe installed, though (installed by default with SQL and MSDE installations).
__________________
I had to fall
To lose it all
But in the end
It doesn't even matter

Rocking the Motion with out lotion.
Offline  
Old 01-18-2011, 05:25 PM   #3
Arkanian
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9810
PIN: N/A
Carrier: AT&T
Posts: 130
Default Re: Getting CAL count from database

Yep I can get the license keys from the table but this doesn't do me any good. I am basically looking for the total number of CALs that I have versus the number of BB users. I can get the BB user count with a simple query but I can't figure out how to get the license count unless someone knows of a way for me to figure out how many CALs a license has.
Offline  
Old 01-18-2011, 05:34 PM   #4
knottyrope
BlackBerry Elite
 
knottyrope's Avatar
 
Join Date: Jan 2008
Location: Massachusetts
Model: DT60
OS: 123456789
PIN: t of blood has been taken
Carrier: AT&T-US with I dee ten tee errors
Posts: 7,325
Default Re: Getting CAL count from database

Powershell - BES Licences Used mail script - Port3101.org : Your BES Connection

but total is not automated
__________________
I had to fall
To lose it all
But in the end
It doesn't even matter

Rocking the Motion with out lotion.
Offline  
Old 01-18-2011, 07:26 PM   #5
TargetIT
CrackBerry Addict
 
Join Date: Jan 2008
Model: 9700
PIN: N/A
Carrier: Rogers
Posts: 709
Default Re: Getting CAL count from database

Exactly - the problem is that the number of CALs that each license is worth (ie 5,10, 25...) is imbedded in the license itself. RIM isn't going to provided you of a means of decrypting the license as that would also allow you to create your own. Having said that, they could create a standalone tool that does that. They haven't.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads for: Getting CAL count from database
Thread Thread Starter Forum Replies Last Post
BB and a NATIVE linux desktop manager gijimbo911 Linux Users Corner 0 02-01-2010 05:02 PM
BES 5.0 Exchange/Domino final documentation posted illy BES Admin Corner 9 05-12-2009 11:16 AM
BES 4.1 SP2 for Microsoft Exchange - Now Available jibi BES Admin Corner 51 01-10-2007 10:30 AM
BES for Domino 4.0 SP4 - Coming Soon jibi BES Admin Corner 0 03-01-2006 11:29 AM
HOWTO: Migrate MSDE2K or SQL2K database to new server jibi BES Admin Corner 18 09-14-2005 11:20 PM


Voltage Electricity Tester Volt Detector Test Pen AC Non-Contact Sensor 90-1000V picture

Voltage Electricity Tester Volt Detector Test Pen AC Non-Contact Sensor 90-1000V

$15.94



USB PD Battery Power Tester Digital Type C Multimeter Voltmeter Voltage Current picture

USB PD Battery Power Tester Digital Type C Multimeter Voltmeter Voltage Current

$18.90



Electricity Usage Energy Monitor Plug Power Watt Voltage Meter Analyzer Socket picture

Electricity Usage Energy Monitor Plug Power Watt Voltage Meter Analyzer Socket

$11.49



Voltage Electric Tester Volt Detector Test Pen Non-Contact Sensor AC DC 12-1000V picture

Voltage Electric Tester Volt Detector Test Pen Non-Contact Sensor AC DC 12-1000V

$7.95



LED AC Electric Voltage Power Detector Sensor Tester Non-Contact Pen 12-1000V picture

LED AC Electric Voltage Power Detector Sensor Tester Non-Contact Pen 12-1000V

$13.99



100A AC Meter Ammeter Volt Energy Voltage Power LCD Display Monitor Panel picture

100A AC Meter Ammeter Volt Energy Voltage Power LCD Display Monitor Panel

$17.09







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.