Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

PsTools : PSService

$
0
0
Author: rmetzger
Subject: PSService
Posted: 01 February 2013 at 3:29pm

Hi randle

randle wrote:
'Is it at all possible to hide the psservice tool information from appearing in a script? i.e "Service information and configuration utility...."'

"Service information and configuration utility...." is output to StdErr. So, to eliminate all error messages including the 'Service information..." send stderr to NUL.

An example might be:

PSservice query wuauserv 2>nul

  2>NUL sends StdErr to the NUL device.

Hope this helps.
Ron Metzger


Edited by rmetzger - 16 hours 20 minutes ago at 3:40pm

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>