現在、sccm 2012 データベースの SQL クエリを作成しており、すべてのクライアントからインストールされているプログラムを調べたいと考えています。
しかし、リクエストの後、すべてのクライアントは同じプログラムを持っています。
コードは次のとおりです。
SELECT Computer_System_DATA.Name00,
Computer_System_DATA.UserName00,
installed_software_data.productname00,
installed_software_data.publisher00
FROM Computer_System_DATA, installed_software_data
WHERE installed_software_data.publisher00 NOT LIKE N'%microsoft%' and
installed_software_data.publisher00 NOT LIKE N'%Intel%' and
installed_software_data.publisher00 NOT LIKE N'%nvidia%' and
installed_software_data.publisher00 NOT LIKE N'%vmware%'and
installed_software_data.publisher00 NOT LIKE N'%symantec%'and
installed_software_data.publisher00 NOT LIKE N'%hewlett-packard%'and
installed_software_data.publisher00 NOT LIKE N'%hp%'and
installed_software_data.productname00 NOT LIKE N'%driver%' and
installed_software_data.productname00 NOT LIKE N'%install%' and
installed_software_data.productname00 NOT LIKE N'%update%' and
installed_software_data.productname00 NOT LIKE N'%treiber%' and
installed_software_data.productname00 NOT LIKE N'%microsoft%' and
installed_software_data.productname00 NOT LIKE N'%hp%' and
installed_software_data.productname00 NOT LIKE N'%ghost%' and
installed_software_data.productname00 NOT LIKE N'%flash%'and
installed_software_data.productname00 NOT LIKE N'%hotfix%' and
installed_software_data.productname00 NOT LIKE N'%patch%' and
installed_software_data.productname00 NOT LIKE N'%device%' and
installed_software_data.productname00 NOT LIKE N'%runtime%' and
installed_software_data.productname00 NOT LIKE N'%java%' and
installed_software_data.productname00 NOT LIKE N'%player%' and
installed_software_data.productname00 NOT LIKE N'%ati%' and
installed_software_data.productname00 NOT LIKE N'%broadcom%'and
installed_software_data.productname00 NOT LIKE N'%canon%' and
installed_software_data.productname00 NOT LIKE N'%dell%' and
installed_software_data.productname00 NOT LIKE N'%divx%' and
installed_software_data.productname00 NOT LIKE N'%epson%' and
installed_software_data.productname00 NOT LIKE N'%veritas%' and
installed_software_data.productname00 NOT LIKE N'%defender%' and
installed_software_data.productname00 NOT LIKE N'%AFPL%' and
installed_software_data.productname00 NOT LIKE N'%web%' and
installed_software_data.productname00 NOT LIKE N'%xml%' and
installed_software_data.productname00 NOT LIKE N'%framework%' and
installed_software_data.productname00 NOT LIKE N'%soundmax%' and
installed_software_data.productname00 NOT LIKE N'%silverlight%' and
installed_software_data.productname00 NOT LIKE N'%buffer%' and
installed_software_data.productname00 NOT LIKE N'%Crazyflie Client%'