I have to set the local Group Policy settings and the the local Security Policy for a couple of machines which are not in a Windows Domain. Until now, I've done that by manually setting the keys in gpedit. Due to the transition to Windows 10 I would like to automate that and use a Batch or PowerShell-Script to do that. It would be very nice if this can be done without 3rd party tools.
How can I set these Policys using Powershell or a Batch file?
Thank you for your answers in advance!
Peter