I'm trying to automate configuration of a domain controller.
I can create and link a GPO using Group Policy cmdlets in Powershell, but how can I set certain policies like the Password Policy for a given GPO, without resorting to the Group Policy Management Editor?