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
Comments
Post a Comment