12/29/2023 0 Comments Winfo cmd![]() You can add more computers to the string separated by commas. There are two commands involved in this process:Ĭreate a list of computers and pass the list as a variable string using the computer names: $computer = "comp1, comp2, comp3" The PSWindowsUpdate PowerShell module can also be used to deploy Windows updates on remote computers. If you don’t want to install a separate module, you can run the following command to force start Windows Update using PowerShell: Start-Process -FilePath 'ms-settings:windowsupdate' Deploy Updates on Remote Computers If you want to automatically restart your computer after installing all the updates, you can run the following command instead: Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -AutoReboot It’s pretty easy to enable it using PowerShell: Add-WUServiceManager -MicrosoftUpdate If you want to update other Microsoft products, you’ll also need to enable the Microsoft Update Service. The above-mentioned commands will only install Windows updates. Now install these updates using this cmdlet: Install-WindowsUpdate Install available Windows updates
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |