$ wmiquery /A . "select Name,ProcessId,DisplayName from Win32_service where Started='TRUE'"
DisplayName = Сведения о приложении
Name = Appinfo
ProcessId = 1052
DisplayName = Средство построения конечных точек Windows Audio
Name = AudioEndpointBuilder
ProcessId = 800
DisplayName = Windows Audio
Name = AudioSrv
ProcessId = 608
…