Am looking to produce a report that would show stats like below:
Windows Servers 163
Windows 7 Desktops 278
Windows Laptops 48
Virtual Desktops 79
Windows 8 Devices 8
Am having some issues trying to do that.
I've been trying to modify the following SQL:
select sys.name0,
cs.manufacturer0,
sys.caption0
from v_R_System sys
INNER JOIN v_GS_Computer_System cs on sys.resourceID = cs.resourceID
INNER JOIN v_GS_Operating_System os on sys.resrouceID = os.resourceID
But I think that query is a 2007 one and my SCCM implementation is 2012!
Any help apprec