码迷,mamicode.com
首页 > 其他好文 > 详细

批处理WMIC查看补丁情况

时间:2015-07-16 19:19:01      阅读:686      评论:0      收藏:0      [点我收藏+]

标签:

最近补丁比较多,需要看系统打了些啥,哪些没打的BAT:

wmic qfe GET hotfixid > a.txt&(for %i in (KB3076321 KB3072604 KB3073094 KB3072000 KB3065718 KB3072631 KB3072620 KB3068457 KB3069392 KB3070102 KB3072630 KB3072633 KB3067505 KB3077657) do @type a.txt|@find /i "%i"||@echo %i Not Installed!)&del /f /q /a a.txt

  技术分享

ms15-065
KB3076321

MS15-066
KB3072604

MS15-067
KB3073094

MS15-068
KB3072000

MS15-058
KB3065718

MS15-069
KB3072631

MS15-070
KB3072620

MS15-071
KB3068457

MS15-072
KB3069392

MS15-073
KB3070102

MS15-074
KB3072630

MS15-075
KB3072633

MS15-076
KB3067505

MS15-077
KB3077657

参考:
http://www.shuixiangu.com/article-2330796-1.html
http://bbs.aliyun.com/read/250891.html?page=e

  

 

批处理WMIC查看补丁情况

标签:

原文地址:http://www.cnblogs.com/TeaIng-Index/p/4652021.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!