Go Back   CORTEX Forums > Local Happenings > CORTEX Blogs > Random Procrastination
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read


Random Procrastination Darren Gosbell is a SQL Server expert and Microsoft 'Most Valued Professional' who works as a Principal Consultant at James & Monroe. His blog covers Business Intelligence, SQL Server, .Net, Powershell and MDX Madness

Reply
 
LinkBack Thread Tools Display Modes
Old 15th October 2009, 12:56 AM   #1 (permalink)
Member
 
Join Date: Jun 2009
Posts: 27
Darren Gosbell is on a distinguished road
Thumbs up Which Edition is my Analysis Services Server?

There was a question the other day on the MSDN SSAS forum asking how to find out the Edition of SSAS which is running on a given server. The answer to this question could be either Standard, Enterprise or Developer. The Object Explorer in Management Studio displays the current version next to the server name, but not the Edition.

Now at a basic level I know that this is stored as a property of the server, so you could run a DISCOVER_XML_METADATA command like the following.

DISCOVER_XML_METADATAObjectProperties*

Which returns not just the Edition, but a lot of other interesting information.

*

Of course not everyone likes reading XML, so another approach would be to run a short powershell script, either using AMO directly…

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.AnalysisServices" ) > $null
$svr = new-object([Microsoft.AnalysisServices.Server])
$svr.Connect("localhost")
$svr.Edition

Or using the powerSSAS snapin (to do the same thing with a lot less typing).

add-pssnapin powerSSAS
$svr = get-ASServer localhost
$svr.Edition Or if you really want to be really boring you could right click on your server from the Object Explorer in Management Studio, choose Reports – Standard Reports – General, but that would be way too simple. :)








Get More from the original blog...
Darren Gosbell is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Book Review - Analysis Services 2008 Unleashed Darren Gosbell Random Procrastination 0 5th October 2009 04:22 AM
Handling Recursive Hierarchies in SQL Server James Beresford BI Monkey 0 18th September 2009 07:02 PM
SQL Server Integration Services 2008 64 Bit frustrations Leigh Kennedy I SQL 1 17th September 2009 10:34 AM
An Analysis Services 2008 nugget Darren Gosbell Random Procrastination 0 23rd June 2009 07:30 PM
Workshop: SQL Server Analysis Services 2008 Development glove TM1 Australian User Group 0 13th February 2009 09:25 AM


All times are GMT +11. The time now is 03:59 PM.

© The Business Intelligence Group

Search Engine Optimization by vBSEO 3.3.0