![]() ![]() ![]() If someone has a better method for doing this, please let me know. # Start wusa.exe and pass in the parameters $parameters = $fullname + " /quiet /norestart" # Specify the command line parameters for wusa.exe Click Save to copy the download to your computer for installation at a later time. ![]() Click Run to start the installation immediately. Windows Update checks for new updates randomly every 22 hours. # Need to wrap in quotes as folder path may contain spaces To start the download, click the Download button and then do one of the following, or select another language from Change Language and then click Change. Normally, Windows Update keeps on running in the background and will install new updates automatically. $files = Get-ChildItem $updatedir -Recurse # Specify the location of the *.msu files Hopefully Microsoft will provide set of cmdlets to manage Windows Updates in the next version of Windows. In the end I wrote a small script (below) that calls wusa.exe to install the updates. There are some examples, such as this from James O’Neill, but which are somewhat too elaborate for what I wanted to do. Powershell struck me as the obvious solution, but I couldn’t find any cmdlets that manage Windows Updates. If, like me, you have to install them on several servers and don’t like the idea of having to double-click to install them via the UI you look for ways to simplify the process. Once downloaded you end up with a bunch of *.msu (Windows Update) files. If you’ve been working with Exchange 2010 Service Pack 1 you will know that there are several pre-requisites to download and install. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |