How to query information in the computer local policy
I am currently looking for a script which allows me to query the two values or more in the local security setting of Windows 2003 and XP on my network:
The first value that I am looking for is Store passwords using reversible encryption which you can configure this security setting by opening the appropriate policy and expanding the console tree as such: Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy\
And the second value that I would like to query is "Anonymous SID/Name Translation" which can be located at "Windows Settings\Security Settings\Local Policies\Security Options\ and the Value is "Network access: Allow anonymous SID/name translation"
The script that I am looking for should query the values on the specific policy and return the answer, I would like to run it against a Server/Workstation List.
Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers. It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.