Windows Server 2016 Server Core: How-to setup a WSUS server?

The following is a sample chapter from the e-Book Windows Server 2016: How to setup your server? (Server Core). Enjoy reading!

“Modesty is not only an ornament, but also a guard to virtue.” Joseph Addison

What is WSUS?

Windows Server Update Services (WSUS) enables system administrators to manage the distribution of Microsoft’s product updates to company’s network computers.

How WSUS works?

WSUS works in a way that its infrastructure enables system administrators to download updates, patches and fixies in the company’s central server, and then from the server to update other computers.

How to add a WSUS role?

To add the WSUS role in your server using PowerShell, complete the following steps:

  • login to your server by typing your Administrator’s password and pressing Enter
  • type PowerShell at command prompt and press Enter
  • type Install-WindowsFeature -Name UpdateServices -IncludeManagementTools and press Enter


How-to setup a WSUS server?

To setup your WSUS server using PowerShell, complete the following steps:

  • to create a folder that stores the WSUS content type at PowerShell prompt type New-Item -Path C: -Name WSUS -ItemType Directory and press Enter


  • to configure the folder where the WSUS content will download type at Command prompt .\wsusutil.exe postinstall CONTENT_DIR=C:\WSUS and press Enter


  • to configure the WSUS synchronization with Microsoft Update type Set-WsusServerSynchronization –SyncFromMU and press Enter

figure50to set the Update Languages to English and save configuration settings type

  • $wsusConfig.AllUpdateLanguagesEnabled = $false and press Enter
  • $wsusConfig.SetEnabledUpdateLanguages(“en”) and press Enter
  • $wsusConfig.Save() and press Enter


  • to get WSUS Subscription type $subscription = $wsus.GetSubscription() and press Enter


  • to start synchronization type $subscription.StartSynchronization() and press Enter


Hope you’ll find this post informative.


  1. This is a good writeup; however, I’m not sure I understand where the $wsusConfig object is made. Is there a step left out? Thank you for taking the time to do this; I was able to follow up to that point and will try to configure the rest on my own but will appreciate a response if you provide one.


  2. OK, really getting over my initial hump with PowerShell thanks to your tutorial. The missing explanation is, indeed, getting the Configuration object as follows:
    $wsusServer = Get-WsusServer -Name -Port 8530
    $wsusConfig = $wsusServer.GetConfiguration()
    Assuming default port. ‘localhost’ may work, but on mine I used the actual hostname of the server.


  3. Hello, so far this article is working, but im stuck on the “$wsusConfig” file. Im not sure what to make of Joshua’s reply, “$wsusServer = Get-WsusServer -Name -Port 8530”, is the “-Name” my server?

    -Thanks, John

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.