Files
preseeds/windows/custom_data/install-updates.ps1
Filip Gołaś 96012d5bb5 windows/: Move scripts into a directory
To make it easier to distinguish what should be copied to the drive
during installation

Signed-off-by: Filip Gołaś <filip.golas@3mdeb.com>
2025-07-11 09:30:59 +02:00

7 lines
271 B
PowerShell

Write-Host "Downloading all Windows updates...";
Install-PackageProvider NuGet -Force;
Register-PSRepository -Default -Verbose
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted;
Install-Module PSWindowsUpdate;
Get-WindowsUpdate -AcceptAll -Install -AutoReboot