For full details see: https://social.technet.microsoft.com/Forums/en-US/configmgrreporting/thread/370ceff1-0f54-46f3-8e8e-5459069125e4
SELECTC.Name,OS.Caption0 as 'Operating System',
OS.CSDVersion0 as 'Service Pack',
COUNT(*) AS 'Count'
FROMdbo.v_R_System Rjoin dbo.v_GS_OPERATING_SYSTEM OS on OS.Resourceid = R.Resourceidjoin dbo.v_FullCollectionMembership FCM on FCM.Resourceid = R.Resourceidjoin dbo.v_Collection C on C.CollectionID = FCM.CollectionIDGROUP BYC.Name,OS.Caption0,OS.CSDVersion0ORDER BYC.Name,OS.Caption0,OS.CSDVersion0
Recent Comments