If there are requirements to update a Group Policy setting in the Default Domain Policy, add the settings here. As an example this setting turns off Server Manager appearing at logon.

If ($DefaultDomainGP -eq $True) {
    WriteLog "Updating Default Domain Policy"
    WriteLog $Line "LINE"
    WriteLog "Added to GP $([char]0x2192) `t`tKey`t`tName`t`tValue" "GPHeader"
    Set_GP $GPDefaultDomain "HKLM\Software\Policies\Microsoft\Windows\Server\ServerManager" "DWORD" "DoNotOpenAtLogon" 1

    }