Is there any batch script or command line command that can do Windows Update automatically on multiple remote servers (maybe via psexec)? Not prefer using a VB script, but if there's one available, that's fine too. Thanks.
Is there any batch script or command line command that can do Windows Update automatically on multiple remote servers (maybe via psexec)? Not prefer using a VB script, but if there's one available, that's fine too. Thanks.
Depends on how you want to do. If you want a more batch-style, psexec method, you need to look into a shareware CLI utility I have seen before. To be honest, I have never tested it myself, wuinstall. I see some articles from Windows-type IT mags, so I doubt you will be the first guy. There is a freeware and pro version, but I cannot say what the licensing restrictions are.
If you can get over the scripting, I know this Winboxen sysadmin lucifist wrote a PowerShell script to do what you are looking for.
If you pay attention to this script, you will see you are opening up COM objects and such. So, you either need to bake your own binary or someone else's non-MSFT code (a la Wuinstall), or do the same amount of scripting in VBScript. You say Win23k Server, so I am not sure whether or not you have PS installed. If not, there is TechNet documentation to cure your ills.
Bottom line, Google is your friend. Keep that in mind before posting here. :-)