查询安装了禁止软件的计算机

查询安装了禁止软件的计算机

查询安装了禁止软件的计算机

select swl.softwarename "软件名称",softtype.SOFTWARETYPE AS "软件类型",si.workstationname "工作站名称", aaaUser.FIRST_NAME "所有者", LONGTODATE(swi.filecreatedtime)  "安装时间" from softwarelist swl left join softwareinfo swi on swl.softwareid=swi.softwareid left join systeminfo si on swi.workstationid=si.workstationid left join Resources resource ON si.WORKSTATIONID=resource.RESOURCEID LEFT JOIN ResourceOwner rOwner ON resource.RESOURCEID=rOwner.RESOURCEID LEFT JOIN ResourceAssociation rToAsset ON rOwner.RESOURCEOWNERID=rToAsset.RESOURCEOWNERID LEFT JOIN SoftwareList softl ON swl.SOFTWAREID=softl.SOFTWAREID LEFT JOIN SDUser sdUser ON rOwner.USERID=sdUser.USERID LEFT JOIN AaaUser aaaUser ON sdUser.USERID=aaaUser.USER_ID LEFT JOIN SoftwareType softtype ON softl.SOFTWARETYPEID=softtype.SOFTWARETYPEID WHERE  (softtype.SOFTWARETYPE = 'Prohibited')  and LONGTODATE(swi.filecreatedtime)>=<from_lastweek> and LONGTODATE(swi.filecreatedtime)<=<to_thisweek>

可调整的日期范围:


效果展示:


    • Related Articles

    • 禁止客户端安装软件或者禁用客户端运行已安装的软件的方法

      1、禁止安装软件和禁止运行软件可以通过DC资源清单中的Block Executable策略去实现 2、禁止安装软件和禁止运行软件有两种方式:  2.1)通过指定软件安装包的名称去禁止安装或者指定软件进程去禁止运行(如果用户修改安装包名称,或者进程文件名,那么策略对用户不生效); ...