From e60ef44393620b1a211c4a13d84852dec2c63391 Mon Sep 17 00:00:00 2001 From: Paul Mataruso Date: Sun, 6 Jul 2025 17:09:43 +0000 Subject: [PATCH] Add WSUS_Install.ps1 --- WSUS_Install.ps1 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 WSUS_Install.ps1 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