Installing WSUS on Windows Server “8” Beta using PowerShell

Installing WSUS on Windows Server “8” Beta using PowerShell

March 20, 2012

Originally posted on Technet.


  • Travis Plunk, Software Developer Engineer
  • Yuri Diogenes, Senior Technical Writer

Technical Reviewers:

  • Cecilia Cole, Program Manager

In our previous post, we demonstrated how to install the WSUS Role on the Windows Server “8” Beta using the new Server Manager. In this post you will learn how to perform the same task using PowerShell.

To install WSUS on Windows Server “8” Beta using PowerShell, follow the steps below:

  1. Sign in on Windows Server “8” Beta

  2. On the taskbar click Windows PowerShell button. 8156.image_1FBE9383

  3. In the PowerShell Console type Install-WindowsFeature -Name UpdateServices, UpdateServices-Ui and press ENTER.

  4. The installation process will start and a progress counter will appear on the screen. Wait until the installation reaches 100% and you receive a message that the installation succeeded before moving on to the next step.

  5. Type & 'C:\Program Files\Update Services\Tools\WsusUtil.exe' postinstall contentdir=C:\Mycontent and press ENTER.

  6. Wait until you receive the message that the post installation successfully finished.

  7. Type Exit and press ENTER to leave the PowerShell interface.

At this point the WSUS installation is completed and you may launch the WSUS Console using the Tools menu. When you launch WSUS for the first time the WSUS Configuration Wizard will appear. For more information about how to configure WSUS, read Step 3: Configure WSUS in the Deploying Windows Server Updates Services in the Organization article at the TechNet Library.

If you want to perform the full installation and post installation tasks using PowerShell you should run this script once you finish the installation via PowerShell.

Stay tuned for more exciting stuff on this blog and the Windows Server Blog from the server leadership team.