|
Site Admin |
|
Joined: Mon Jun 07, 2004 11:48 am Posts: 1964 Location: Brisbane, Australia
|
[quote="MikeS"]What do you mean with Domain Audit? In the same directory in the download as the audit_windows.vbs script, there is another called audit_domain.vbs. Check out the variable settings within it. Basically, you point it at your Domain, let it know where audit_windows.vbs is (locally on your filesystem), tell it how many audits you want to spawn at once and it audits all the Windows machines in your domain. There are options within to restrict it to certain operating systems (say, all your machines with the string "server" in the OS name).
number_of_audits == how many audits you want running at any given time. I set this to 20. audit_run_type == whether to copy the audit_windows script to the remote PC then initiate it remotely. NOTE - this doesn't work very well. It runs these in serial - ie, one at a time. It takes a LONG time to get through a domain of any size. I am working on a script to spawn multiple instances. For now, leave this set to "local". remote_user and remote_password == set these if your systems are not on a domain. It's a bit of a hack. I don't use this. script_name == the full path to audit_windows.vbs local_domain == an array of domains your wish to audit. Make sure your have Admin in each domain for the user account running audit_domain. I have three domains here and my designated account has "local admin" on all computers in these domains. operating_system == a string that matches against the OS name pulled from Active Directory. If this string appears anywhere in the OS name, it's a match. Leave blank for ALL systems. output_file == If you want a dump of the matched systems, provide a file name. I leave this blank...
NOTE - all these variables can be passed in from the command line at runtime (same as audit_windows.vbs). Personally, I have a couple of these scripts configured how I like - one for our servers that runs at night, another for our workstations that runs in the daytime, another for a second domain, etc.
_________________ Support and Development hours available from [url=https://opmantek.com]Opmantek[/url]. Please consider a purchase to help make Open-AudIT better for everyone.
|
|