Solved

script using amo to detect informations about Analysis Services

Posted on 2012-03-26
1
426 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 10

Accepted Solution

by:
JoeKlimis earned 500 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

792 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