AurelV
New Member
- Messages
- 4
- Reaction score
- 0
- Points
- 1
Hello everyone,
I come here looking for help in refining some queries for my device groups in the SCCM console.
Currently, I am looking to obtain different collections which would each group together each type of existing machine in my fleet.
For example, I would like a collection for laptops, another for hypervisors, etc. based on this query found here maybe ?
I come here looking for help in refining some queries for my device groups in the SCCM console.
Currently, I am looking to obtain different collections which would each group together each type of existing machine in my fleet.
For example, I would like a collection for laptops, another for hypervisors, etc. based on this query found here maybe ?
Code:
select
SMS_R_System.Name,
SMS_G_System_COMPUTER_SYSTEM.Manufacturer,
SMS_R_System.SMSAssignedSites,
SMS_R_System.IPAddresses,
SMS_R_System.IPSubnets,
SMS_R_System.OperatingSystemNameandVersion,
SMS_R_System.ResourceDomainORWorkgroup,
SMS_R_System.LastLogonUserDomain,
SMS_R_System.LastLogonUserName,
SMS_R_System.SMSUniqueIdentifier,
SMS_R_System.ResourceId,
SMS_R_System.ResourceType,
SMS_R_System.NetbiosName from SMS_R_System
inner join SMS_G_System_COMPUTER_SYSTEM
on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId
where SMS_G_System_COMPUTER_SYSTEM.Manufacturer in ("Microsoft Corporation")