Configure Windows Update
1 #notificationlevel Description:2 #0: Not Configured, no changes are made to the current settings3 #1: Never Check for updates4 #2: Check for updates, but let me choose whether to download and install updates5 #3: Download the update, but let me choose whether to install the update6 #4: Install updates automatically7 8 $AutoUpdateSettings= (new-object-com"Microsoft.Update.AutoUpdate"). Settings9 $AutoUpdateSettings. NotificationLevel =3Ten #$AutoUpdateSettings. scheduledinstallationday = 1 # 0 for every day, 1 for every Sunday; 2 for a weekly ... One #$AutoUpdateSettings. scheduledinstallationtime = 2 # 0 means that 0:00;1 means that the 1:00;2 represents the ..., only if. NotificationLevel = 4 o'clock valid A $AutoUpdateSettings. Save () -(new-object-com"Microsoft.Update.AutoUpdate"). Settings
Windows Update Related COM components:
Microsoft.Update.AutoUpdate: Provides management of the Microsoft Update Automatic Update schedule
Microsoft.Update.Installer: Allow updates to be installed from Microsoft Update
Microsoft.Update.Searcher: Provide search functionality from Microsoft Update Update
Microsoft.Update.Session: Provides access to information about the local history of Microsoft Update
Microsoft.Update.SystemInfo: Provides access to information about the current system with Microsoft Update
Configure Windows Update