Learning how to script currently. Have been tasked to come up with a script that will audit a server's local Account Policies and Security Options. I was hoping someone may be able to assist me in finding the best way to script this audit.
By the way, there are group polices which you can leverage for auditing account management.
Auditing can be configured on Domain controllers, especially, “Audit
account management” policy must be configured and you need to define both Success and Failure policy
settings. To configure Auditing on Domain Controllers, you need to edit and update DDCP (Default Domain Controller Policy)
I do not represent the organisation I work for, all the opinions expressed here, are my own.
This posting is provided AS IS with no warranties or guarantees and confers no rights.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.