Kategoria: SSAS

SQL Server Analysis Services

Multidimensional, Przydatne skrypty, SSAS

SSAS info o bazach (wielkość bazy, partycji, statusu procesowania etc.)

Źródło: http://www.ssas-info.com/analysis-services-scripts/1197-powershell-script-to-list-info-about-ssas-databases   lekko zmodyfikowany param($ServerName = „localhost”, $dbname = „db_name”) ## Add the AMO namespace $loadInfo = [Reflection.Assembly]::LoadWithPartialName(„Microsoft.AnalysisServices”) $server = New-Object Microsoft.AnalysisServices.Server $server.connect($ServerName) if ($server.name -eq $null) { Write-Output („Server '{0}’ not found” -f $ServerName) break } foreach ($d in $server.Databases ) { if ($d.Name -ne $dbname) { continue;Czytaj dalej / Read more