补丁更新获取

Get-HotFix

gwmi win32_quickFixEngineering

 

if (Get-WmiObject -Query "Select * from WIN32_QuickFixEngineering where HotFixID = 'KB2506143'")
{write-host "Installed" -ForegroundColor DarkRed}

posted on 2013-08-06 19:57  momingliu11  阅读(364)  评论(0编辑  收藏  举报