Posts

Showing posts with the label systemcenter

Power BI : How to make quick awesome looking dashboard for SCCM

Image
An awesome example of what power bi can do - and its all interactive and dynamic content - which sync's with your sql data in real time. a little bit of sql and little bit of excel does the magic. The dashboard above was created to show the remnants of Office 2010 in the environment. what all do we have in here ? A dynamically created map based on location pulled from SCCM a scrolling ticker indicating increase or decrease in count as per trends count of machines per location trends indicated by a simple graph  a dynamic water level indicators for data. a dynamic pyramid based breakup Query used to pull from SQL > ------------------------------------------------------------------------------------------ SELECT       distinct vrs.AD_Site_Name0, vrs.Distinguished_Name0, vrs.Netbios_Name0, vrs.Resource_Domain_OR_Workgr0, vrs.User_Name0, sof.ProductName0, sof.ProductVersion0, sof.Publisher0 FROM...

Powershell : OpsMgr : SCOM 2012 Prereqs Powershell

Start-Transcript -Path c:transcript0.txt -noclobber # This scripts needs unrestricted access Write-Host "This scripts needs unrestricted access (Set-ExecutionPolicy Unrestricted.)" -ForegroundColor Green Write-Host "The prereq setup for System Center 2012 R2 Operations Manager takes around 15 minutes depending on your internet speed" -ForegroundColor Green # Setting the variables. $folderpath0 = 'C:Source' $ShareName = "Source$" #Check if folder exists, if not, create it if (Test-Path $folderpath0){ Write-Host "The folder $folderPath0 exists." } else{ Write-Host "The folder $folderPath0 does not exist, creating..." -NoNewline New-Item $folderpath0 -type directory | Out-Null Write-Host "done!" -ForegroundColor Green } # Check if file exists, if not, download it $file0 = $folderPath0+"SQLSysClrTypes.msi" $file1 = $folderPath0+"Reportviewer.msi" if (Te...

SCCM SQL Query : SQL Query for Client Count per AD Site

SELECT     R.AD_Site_Name0,     Count(SMS_Installed_Sites0) AS 'Count' From     v_R_System R     JOIN v_RA_System_SMSInstalledSites SIS ON R.ResourceID = SIS.ResourceID Group By     R.AD_Site_Name0