To use WSUS, you first install the Windows feature for update services, then perform the initial configuration. WSUS has dependencies that include the IIS web server and ASP.NET 4.6, so these dependencies are installed automatically if they are not present.
To follow this recipe, open a PowerShell session on server WSUS1. WSUS1 is a domain-joined server with internet access.
The steps for the recipe are as follows:
- Install the Windows Update feature and tools, with
-Verbose
for additional feedback:
Install-WindowsFeature -Name 'UpdateServices' `
-IncludeManagementTools -Verbose
- Review the features that are installed on your server, noting that not only has
Windows Software Update Services
been installed, butWeb Server (IIS)
,ASP.Net 4.6
, andWindows Internal Database
have as well:
Get-WindowsFeature |
Where-Object -FilterScript {($psitem.Installed)}
- Create a folder for WSUS update content:
$WSUSContentDir...