Windows Update使用vbscript进行检查

Windows Update使用vbscript进行检查,第1张

概述Windows Update使用vbscript进行检查

有人的脚本/或可以帮助我检查,是否有可用的服务器的windows更新?

所以当黄色的更新图标在任务栏中时,我会收到一封邮件。

我的想法是:发送邮件,如果wuauclt.exe在任务栏中超过10分钟。

但我不知道做这个。

从linux中的PID进程名称

*** 作系统内核是否和IPC一样与进程通信?

使用Java中的命令行工具进行通信

过程的已知/logging/未分类的方法开始监测的是什么?

如何为* nix进程实现一个编写者喜欢的读/写锁

我发现只有这个:

Dim strComputer,strProcess Do strProcess = inputBox( "Please enter the name of the process (for instance: explorer.exe)","input" ) Loop until strProcess <> "" Do strComputer = inputBox( "Please enter the computer name","input" ) Loop until strComputer <> "" If( IsProcessRunning( strComputer,strProcess ) = True ) Then WScript.Echo "Process " & strProcess & " is running on computer " & strComputer Else WScript.Echo "Process " & strProcess & " is NOT running on computer " & strComputer End If

感谢帮助。

从PID获取名字?

linux如何同时32位和64位? 或者是在glibc中处理的东西?

如何closuresQtsubprocess并让subprocess执行清理代码?

在windows 7 64位上从Delphi 7读取注​​册表的问题

将Delphi代码移植到64位 – 为什么没有编译器警告?

这样的事情呢?

'Microsoft magic Set updateSession = CreateObject("Microsoft.Update.Session") Set updateSearcher = updateSession.CreateupdateSearcher() Set searchResult = updateSearcher.Search("IsInstalled=0 and Type='Software'") 'End Microsoft magic If searchResult.Updates.Count <> 0 Then 'If updates were found 'This is where you add your code to send an E-Mail. 'Send E-mail including a List of updates needed. 'This is how you can List the Title of each update that was found. 'You Could include the List in the body of your E-Mail. For i = 0 To searchResult.Updates.Count - 1 Set update = searchResult.Updates.Item(i) WScript.Echo update.Title Next End If

wuauclt可能会运行超过10分钟,而不一定是通知用户有未决的更新。

我知道这是StackOverflow,这是一个编程问题,但我是一个系统管理员,我认为这属于serverFault,并且你做错了。 WSUS( http://technet.microsoft.com/en-us/wsus/default.aspx )旨在管理windows更新。

总结

以上是内存溢出为你收集整理的Windows Update使用vbscript进行检查全部内容,希望文章能够帮你解决Windows Update使用vbscript进行检查所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1155477.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-01
下一篇 2022-06-01

发表评论

登录后才能评论

评论列表(0条)

保存