The script must do the following:
Get a list of all computers from AD
Check when that computer last authenticated with AD
Then check the following on each computer.
List local accounts (enabled and disabled)
List groups and users in each group
Display a list of users that logged onto that computer.
Display basic info about the computer, eg OS, HostName, etc
Generate a [url removed, login to view] file and email it.
When the scripts is executed for a second time it must compare the previous results with the current results and generate a [url removed, login to view] file and [url removed, login to view] file.
Target computers are server 2000, Server 2003, Server 2008, Server 2012, XP, 7, 8,10.
If Remote Procedure Call (RPC) is not working another method must be used via the script.
All available computers most report back the about information.