Add WSUS_Install.ps1
This commit is contained in:
7
WSUS_Install.ps1
Normal file
7
WSUS_Install.ps1
Normal file
@@ -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
|
Reference in New Issue
Block a user