Copy-ready commandsc query — Export Results
sc query type= service state= allRequirements and permissions
- Requirements
- Windows 10/11 or Windows Server
- Permissions
- Varies by command
- Last reviewed
- 2026-07-31
Examples
Export Results
Export the output of sc query for documentation or review.
sc query type= service state= allOriginal command
Query Windows services.
sc query type= service state= allCommon errors
Command not found
Confirm Windows 10/11 or Windows Server is installed and available in your current shell.