Windows

General discussion

AD to alert admins

I am currently working on a project to keep track of hardware around the company. It would be very helpful if there was a program or script that would alert me of any changed/new machine accounts that had been created in AD, just in case one of our admins might make a change and forget to let me know. Does anybody know of a method of doing this?

Modify the script to run periodically. add a function at the beginning of the script to check for newdatafile.txt. if it exists, rename it to olddatafile.txt. Next output the AD information to a text file named newdatafile.txt. Use a diff program to highlite any differences between the two files. There are several of these diff files around with various names. FC is one that comes with Win XP. type help FC to figure out how to use it and how to format its output to your liking. The results of FC will be any changes to your AD from the last time the script was run. you can use dates in the filename to keep a running log of changes and if you get really motivated could modify the script to provide some roll-back functionality.

Start or search

Create a new discussion

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

Post type

Subject title

Topic Tags

Select up to 3 tags (1 tag required)

Cloud

Piracy

Security

Apple

Microsoft

IT Employment

Google

Open Source

Mobility

Social Enterprise

Community

Smartphones

Operating Systems

Windows

Mac

Malware

Tablets

Networking

Browser

Hardware

Software

Web Developerment

Linux

Off Topic

Message Body

Track this discussion and email me when there are updates

Please note: Do not post advertisements, offensive material, profanity, or personal attacks. Please remember to be considerate of other members. If you're new to the TechRepublic Forums, please read our TechRepublic Forums FAQ. All submitted content is subject to our Terms Of Use.