Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Done Option to suppress blank lines in WMIQUERY

May
12,934
170
I might have ... get rid of the blank lines (which I didn't ask for) in, for example,

Code:
v:\> wmiquery /a . "Select Name from Win32_service where state='running'"
Appinfo

AudioEndpointBuilder

Audiosrv

BFE
 
Not the first time this question raised.
The blank line is to distinguish the records.

Code:
$ 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

…
 

Similar threads

Back
Top