Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

script using amo to detect informations about Analysis Services

Posted on 2012-03-26
1
Medium Priority
?
442 Views
Last Modified: 2016-02-15
Hello,

I search a script using amo to detect informations about Analysis Services.

Thanks

Regards

bibi
0
Comment
Question by:bibi92
1 Comment
 
LVL 11

Accepted Solution

by:
Joe Klimis earned 2000 total points
ID: 37766713
Hi what information are you looking for  ?

The following is an example of the server information


run this on the SQL server

#Step 1 Load the AMO Objects

[reflection.assembly]::loadwithPartialname("Microsoft.AnalysisServices")

#Step 2  access the SSAS instance

$Myserver = New-Object Microsoft.AnalysisServices.server
$MyServer.connect("LocalHost")

#Step 3 - list details about the server
$MyServer

Open in new window

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
A walk-through example of how to obtain and apply new DID phone numbers to your cloud PBX enabled users that are configured in Office 365. Whether you have 1, 10 or 100+ users in your tenant, it's quite easy to get them phone-enabled and making/rece…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

876 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