Quantcast
Viewing all articles
Browse latest Browse all 49

Get SSAS version with Powershell and AMO

Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.


I will try to illustrate how to get various information about Analysis Services by using powershell.

You could find below the first script to make the first connection:

 

$serverName = "serverName\SQL2008_InstanceName"

# Load the AMO assembly in Powershell
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.AnalysisServices")

# Create a server object :
$serverAS = New-Object Microsoft.AnalysisServices.Server

# Connect to your Analysis Services server
$serverAS.connect($serverName)

# Select the information
$serverAS | SELECT  Name,Edition,Version

 

Michel Degremont | Premier Field Engineer - SQL Server Core Engineer |

 


 

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 49

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>