摘要:
获取脚本当前所在路径:$CurrentPath = $MyInvocation.MyCommand.Path.substring(0,$MyInvocation.MyCommand.Path.LastIndexOf('\')+1)$today = Get-Date -UFormat "%Y%m%d"... 阅读全文
摘要:
Get-HotFixgwmi win32_quickFixEngineeringif (Get-WmiObject -Query "Select * from WIN32_QuickFixEngineering where HotFixID = 'KB2506143'"){write-host "Installed" -ForegroundColor DarkRed} 阅读全文