mirror of
https://github.com/Dasharo/preseeds.git
synced 2026-03-06 14:49:53 -08:00
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>
7 lines
271 B
PowerShell
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
|