我在查询后会告诉我工作站是否有像Visio 2010这样的办公产品的专业或标准版本。
我在这里find了以下的内容,但是无法对此加以调整,目前SCCM中的查询不太好。
select SMS_R_System.Name, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Visio Standard%" or SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Visio Professional%" order by SMS_R_System.Name
更新了查询,并得到它现在我喜欢的工作。 针对所有活动的计算机运行此操作,并返回专业版或标准版。
这对我工作:
select SMS_R_System.Name, SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName from SMS_R_System inner join SMS_G_System_ADD_REMOVE_PROGRAMS on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Visio Standard%" or SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName like "%Visio Professional%" order by SMS_R_System.Name