本文介绍了用于安装更新的Powershell脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! Hi Team, 我想触发一个脚本,可以安装每月的Windows更新并在输出文件中共享结果。 我对窗户不太好。能帮忙吗? 谢谢 Atul Chadha 解决方案 您好, 对于Windows Update PowerShell脚本,请尝试 这个。要记录活动,请包含以下内容: Logfile =" C:\ Logs \ (gc env:computername).log" 函数LogWrite { Param([string] Hi Team,I want to trigger a script which can install monthly windows updates and share the result in output file.I am not that good with windows. Could you please help.Thank youAtul Chadha 解决方案 Hi,For Windows Update PowerShell script, trythis one. To log the activity, include something like thisLogfile = "C:\Logs\(gc env:computername).log"Function LogWrite{ Param ([string] 这篇关于用于安装更新的Powershell脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 08-02 00:52