This lists all SERVICE_NAME and DISPLAY_NAME items which match the string.
sc queryex type= service | find /i "string"
The DISPLAYNAME and SERVICE_NAME may be completely different strings though.
This command gets the SERVICE_NAME from the DISPLAY_NAME
sc getkeyname "SMS Agent Host"
returns
[SC] GetServiceKeyName SUCCESS
Name = CcmExec
This shows the windows service status.
sc query "SERVICE_NAME"
These are start/stop commands
sc start "SERVICE_NAME"
sc stop "SERVICE_NAME"