2013年8月6日
摘要: 获取脚本当前所在路径:$CurrentPath = $MyInvocation.MyCommand.Path.substring(0,$MyInvocation.MyCommand.Path.LastIndexOf('\')+1)$today = Get-Date -UFormat "%Y%m%d"... 阅读全文
posted @ 2013-08-06 19:58 momingliu11 阅读(1523) 评论(0) 推荐(0) 编辑
摘要: Get-HotFixgwmi win32_quickFixEngineeringif (Get-WmiObject -Query "Select * from WIN32_QuickFixEngineering where HotFixID = 'KB2506143'"){write-host "Installed" -ForegroundColor DarkRed} 阅读全文
posted @ 2013-08-06 19:57 momingliu11 阅读(362) 评论(0) 推荐(0) 编辑