sc queryAll active services (running or paused), with state and type. The quick "what's running" read.
sc query state= allEvery service including stopped ones — the full inventory. (Remember the space after state=.)
sc query SpoolerOne service's current state, type, and exit codes.
sc queryex SpoolerExtended query — adds the PID and flags. The PID lets you pivot to tasklist / Process Explorer.
sc qc SpoolerQuery config — the big one: BINARY_PATH_NAME, start type, service account (SERVICE_START_NAME), and dependencies. Where you spot a bad binary path.
sc qc Spooler 8192Same, with a larger buffer — needed when a very long binPath gets truncated (long paths can hide the real command).
sc qdescription SpoolerThe service's description text — a blank or junk description on a "legit-sounding" service is a small flag.
sc enumdepend SpoolerServices that depend on this one — know the blast radius before you stop it.
sc getkeyname "Print Spooler"Display name → service (key) name. sc getdisplayname Spooler goes the other way.
sc query type= driver state= allKernel/file-system drivers, not just Win32 services — a malicious driver loads here too. type= service for the usual ones.