?
Solved

winaudit batch excercise

Posted on 2014-10-10
2
Medium Priority
?
493 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 1000 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 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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…
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…

764 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