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

figure47

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

figure48

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

figure49

  • 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

figure51

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

figure52

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

figure53

Hope you’ll find this post informative.

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s