Start-Service
Start a Windows service
Start-Service -Name Spooler
- Works on
- Windows
- PowerShell
- 5.1 and later
- Permissions
- Run as administrator
- Reference
- Microsoft Learn: Start-Service
Careful: Usually needs an elevated session. Starting the wrong service can have side effects.
Starts a service. If access is denied, open PowerShell as Administrator.
Try this
Get-Service -Name Spooler | Start-Service -WhatIf
Coming from another shell
| Shell | What you might type |
|---|---|
| bash / zsh | sudo systemctl start nginx |
| cmd.exe | net start Spooler |
More in From bash and From cmd.