Solved

winaudit batch excercise

Posted on 2014-10-10
2
414 Views
Last Modified: 2014-10-28
We need to run a tool called "winaudit" over 75 window servers for a compliance audit and configuration management purposes. It is just a small exe app which produces an end report in HTML / PDF giving various information on the servers hardware/OS/apps etc. The only way we can see to run the tool is to remote onto each server manually and run it- then save the output to a network share. I wondered if there was a more automated way of running the same exe on many servers remotely (i.e. from 1 dedicated machine), and some how collate the necessary evidence in bulk. Is there anyway to do this? The remoting onto each server manually is quite time consuming (each scan takes around 2-5 mins).
0
Comment
Question by:pma111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 250 total points
ID: 40372815
You could probably write a batch script that executes PSExec, which would in turn execute your winaudit utility.
0
 
LVL 25

Accepted Solution

by:
Lionel MM earned 250 total points
ID: 40374703
PSExec is a good idea and/or you could use scheduled tasks (schtasks /?) from a batch file to read through a list of al your servers and run the task, for instance
for /F "tokens=1,2,3 delims=," %%i in (C:\Utils\ServerList.csv) do (
SCHTASKS /Create /S ServerName /U user /P password /RU runasuser /RP runaspassword /SC ONCE /TN TaskName /TR winaudit.exe
)
this will read the list of servers and schedule a task to run one time (/SC ONCE) on each server
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question