Restart a Service with Restart-Service
Stop, start, and restart Windows services in PowerShell — the forgotten one-liner alternative to services.msc or net stop/start.
01Command
$ Restart-Service -Name wuauserv -Force
Get-Service -Name wuauserv | Select-Object Name, Status, StartType02What it does
Restart-Service does stop-then-start atomically, and -Force also restarts services that depend on the target — something net stop demands you enumerate manually. Get-Service filters instantly with wildcards (Get-Service *audio*) and reveals StartType, which is what Start-Service cannot change; you need Set-Service -StartupType for that. The classic use is restarting wuauserv or BITS when Windows Update gets stuck.
03Risk
04Undo
$ Start-Service -Name wuauserv05Sources
- Restart-Service - SS64Evidence: Shows Restart-Service usage and pipeline patterns with Get-Service.
- Restart-ServiceEvidence: Documents Restart-Service including -Force for dependent services.
Last verified: 2026-09-17 · Category: System & Settings
06Related solutions
Search inside text files and logs with regex, returning file, line number and match.
Create or update a .zip from any files or folder contents straight from PowerShell.
A built-in PowerShell one-liner that answers 'is port 5432/3389/443 actually open through this network?' — no telnet client needed.