Hi All,
is there any way to ensure that we can create separate collection for windows 2016 and windows 2019 server on those SCCM client is not installed? both server has same version name Microsoft Windows NT Server 10.0 as per Microsoft[https://docs.microsoft.com/en-us/windows/win32/sysinfo/operating-system-version] unless I'm wrong.
I'm using below WQL query for creating collection but noticed that server in windows server 2019 collection also in 2016 collection. Any help to ensure uniqueness in each collection to avoid conflicts?
Windows 2019 -
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.Name like "Microsoft Windows Server 2019 %"
Windows 2016 -
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion like "Microsoft Windows NT Server 10.0%" OR SMS_R_System.OperatingSystemNameandVersion like "Microsoft Windows NT Advanced Server 10.0%"