eliminato windows update
This commit is contained in:
		@@ -674,27 +674,6 @@ taskkill /f /im explorer.exe | Out-Null
 | 
			
		||||
 | 
			
		||||
start explorer.exe | Out-Null
 | 
			
		||||
 | 
			
		||||
##########################################################################################
 | 
			
		||||
#                                                                                        #
 | 
			
		||||
#                                Available Updates                                       #
 | 
			
		||||
#                                                                                        #
 | 
			
		||||
##########################################################################################
 | 
			
		||||
 | 
			
		||||
# Checking for Available Updates
 | 
			
		||||
Install-PackageProvider -Name NuGet -Force
 | 
			
		||||
Install-Module -Name PSWindowsUpdate -Force -Confirm:$False 
 | 
			
		||||
Write-Host ""
 | 
			
		||||
 | 
			
		||||
Write-Host -ForegroundColor Yellow ">>> Checking for Available Updates... <<<"
 | 
			
		||||
Get-WindowsUpdate
 | 
			
		||||
Write-Host ""
 | 
			
		||||
 | 
			
		||||
# Installing Windows Updates
 | 
			
		||||
Write-Host -ForegroundColor Yellow ">>> Installing Windows and Driver Updates... <<<"
 | 
			
		||||
Install-WindowsUpdate -AcceptAll -Install -IgnoreReboot
 | 
			
		||||
Install-WindowsUpdate -Install -AcceptAll -UpdateType Driver -MicrosoftUpdate -ForceDownload -ForceInstall -IgnoreReboot
 | 
			
		||||
Install-WindowsUpdate -Install -AcceptAll -UpdateType Software -MicrosoftUpdate -ForceDownload -ForceInstall -IgnoreReboot
 | 
			
		||||
 | 
			
		||||
Write-Host ""
 | 
			
		||||
 | 
			
		||||
##########################################################################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user