Get-Service
SafeServices (PS)
Get-Service <name>
Gets Windows service status as objects.
Examples
Get-Service | Where Status -eq 'Stopped'List stopped services
Syntax
Get-Service [name] | Where Status -eq 'Running'
Before you run it
Read-only.
Used when you see
Remote Desktop won't connect
2
See the whole flow →Verify Remote Desktop services on the targetTermService is the one to check and start.
Related commands
- Restart-ServiceRestart service (PS)
- scService control (Windows)
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store