diff --git a/WSUS_Install.ps1 b/WSUS_Install.ps1 new file mode 100644 index 0000000..532f347 --- /dev/null +++ b/WSUS_Install.ps1 @@ -0,0 +1,7 @@ +Write-Host "==> Installing WSUS with WID..." -ForegroundColor Cyan +Install-WindowsFeature UpdateServices, UpdateServices-Services, UpdateServices-WidDB, UpdateServices-UI -IncludeManagementTools + +Write-Host "==> Running WSUS post-install task..." -ForegroundColor Cyan +& "C:\Program Files\Update Services\Tools\wsusutil.exe" postinstall CONTENT_DIR="C:\WSUS" + +Write-Host "✅ WSUS installation complete. You can now open the WSUS Console." -ForegroundColor Green \ No newline at end of file