Udostępnij za pośrednictwem


Установка обновлений из командной строки.

??? ?? ???? ???????? ??????????? ??????, ??????? ????????? ??????? ?????????? Windows, ????????? ?? ? ????????????? ?? ?????? ?? ????????? ??????. ? ??? ??????? ?????????, ????? ???? ??????? ????????? ?? ?????????? ??????? ????? ????? psexec. ????? ??? ????? ?????: https://blog.not-a-kernel-guy.com/wp-content/uploads/2010/10/WUA_SearchDownloadInstall.vbs.

???????????????? ?????? ???????? ????????? ?????:

 d:\wsus>cscript //nologo WUA_SearchDownloadInstall.vbs /?
Usage: cscript //nologo WUA_SearchDownloadInstall.vbs [/nodownload | ( /install [ /reboot ] ) ].
  • /nodownload – ????????? ?????????? ?? ????? ??????????? (?, ??????????????, ???????????????).
  • /install – ????????? ?????????? ????? ????????????? ??????????? ?? ??????. ?? ????????? ????? ?????????? ???????????, ?? ?? ???????????????.
  • /reboot – ????????????? ?????? ????? ????????? ??????????, ???? ???? ?? ??? ????????? ????????????.

?????? ??????? ??????? ? ??????? psexec:

 psexec.exe @server_list.txt -u <user> -p <password> cscript //nologo \\some\public\share\WUA_SearchDownloadInstall.vbs /install /reboot

??? ???? ??????????????, ??? \\some\public\share ???????? ?? ?????? ?? ???? ????? ?? ??????.

Cross-posted from blog.not-a-kernel-guy.com.