Thursday, April 3, 2014

how to create collection For collect Desktop Machines

how to create collection For collect Desktop Machines :


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.Caption = "Microsoft Windows 7 Enterprise" or SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 7 Professional" or SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 7 Ultimate" or SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 8 Enterprise" or SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 8 Enterprise N" or SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows 8 Pro" or SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows XP Professional" or SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft® Windows Vista™ Business"

No comments:

Post a Comment