ActiveDirectory and Exchange Solutions
Monday, September 5, 2011
List HP Services on Multiple Machines
@echo off
for /f %%C in (ServerName.txt) do (
echo %%C
sc \\%%C query type= service state= all | find "hp" /I >> HpServices.txt
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment