Windows Server Update Services (WSUS) previously known as Software Update Services (SUS) is a computer program and network service developed by Microsoft Corporation that enables administrators to manage the distribution of updates and hotfixes released for Microsoft products to computers in a corporate environment. For more articles I have written, see the following links: Configuring WSUS Email Notification to Work With Office365, How to setup and configure Windows server update services (WSUS), Important Areas to Master on WSUS (Installed and not applicable, Install 1/4, and Installed / Not applicable 100), and how to configure WSUS Clients to get Updates from the WSUS server using Registry settings.
WSUS Service Control with PowerShell and CMD
The following commands below are used to restart the Windows WSUS service using PowerShell and the Command Line (CLI) tool. Most times, you may encounter issues restarting Windows Services via the
services.msc console, then using the CMD, will become very handy at this time. Using the command line is also very useful when configuring a script for WSUS and performing a WSUS management task.
The below commands are PowerShell syntax used to start, stop and restart the WSUS service. Here are some more guides that you might want to see: How to apply Windows Updates from WSUS to the server using AWS RunCommand, How to Configure SSL between WSUS servers (Upstream and Downstream Servers), Handy WSUS Commands – Windows Server Update Services Commands, WAUACLT, PowerShell and USOClient, Windows Server Update Services: Windows 2016 Servers does not show up on WSUS console, WSUS clients appear and disappear from the WSUS Update Services console.
Restart the WSUS service
Start the WSUS service
Stop the WSUS service
To view the status of the WSUS service
The below commands are Command line syntax used to start, stop and restart WSUS service.
To stop WSUS service
net stop wsusservice
To start the WSUS Service
net start wsusservice
I hope you found this blog post on WSUS Service Control with PowerShell and CMD helpful. Please let me know in the comment session if you have any questions.