SELECT
CASE ChassisTypes0
WHEN '10' THEN 'Notebooks'
ELSE 'Desktops'
END AS "Workstation Type", count(distinct sys.name0) as ClientCount from
v_GS_SYSTEM_ENCLOSURE ENC
INNER JOIN
v_R_System SYS ON ENC.ResourceID = SYS.ResourceID
WHERE
sys.client0=1 AND sys.obsolete0=0 AND active0=1
GROUP BY
CASE ChassisTypes0
WHEN '10' THEN 'Notebooks'
ELSE 'Desktops'
END
ORDER BY 2 desc
Related Posts:
Install Adobe Flash PlayerActiveX and Plugin SCCM 2007The following process has been tested and confirmed as working with Adobe Flash Player in SCCM R2:
It does the following tasks:
Installs Flash Pla… Read More
Hardware InventoryThis is a very useful SMS report for beginners:
it's a hardware inventory report completed by Machine name user name, and OU name:
Select distinct
… Read More
SCCM Collection Query for All SQL versionsSQL 2012 :
select
SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainOR… Read More
Hardware Inventory V2
This is a different hardware inventory report:
Select
SD.Name0 'Machine Name',
SD.User_Name0,
SD.AD_Site_Name0,
OU.System_OU_Name0,
CS.Manufa… Read More
SCCM Collection for X64 Machines
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,S… Read More
0 commenti:
Post a Comment
Give me you feedback!