1. Type Start PowerShell in the Command Prompt window to start Windows PowerShell.
2. Type Install-WindowsFeature UpdateServices and press Enter to install the WSUS role.
Additional Information:
The following WSUS role services can be installed using Windows PowerShell.
The WID Database and WSUS Services role services are installed after running the Install-WindowsFeature UpdateSevices cmdlet.
The following Windows PowerShell cmdlets are available for managing the WSUS role on a server running Windows Server Core.
Add-WsusComputer - Adds a specified client computer to a specified target group.
Approve-WsusUpdate - Approves an update to be applied to clients.
Deny-WsusUpdate - Declines the update for deployment.
Get-WsusClassification - Get the list of all WSUS classifications currently available in the system.
Get-WsusComputer - Gets the WSUS computer object that represents the client computer.
Get-WsusProduct - Get the list of all products currently available on WSUS by category.
Get-WsusServer - Gets the value of the WSUS update server object.
Get-WsusUpdate - Gets the WSUS update object with details about the update.
Invoke-WsusServerCleanup - Performs the process of cleanup on a specified WSUS server.
Set-WsusClassification - Sets whether the classifications of updates that WSUS synchronizes are enabled or disabled.
Set-WsusProduct - Sets whether the product representing the category of updates to synchronize is enabled or disabled.
Set-WsusServerSynchronization - Sets whether the WSUS)server synchronizes from Microsoft Update, or an upstream server and the upstream server properties.