Merge two GPOs

Has someone successfully merged two GPOs? What is the best script to do it?
Found the one from Microsoft Security Toolkit but didn’t help.
please let me know
thanks

My search came up with this, but I think it’s only registry based policies (so doesn’t cover things like deploying printers): https://blogs.technet.microsoft.com/ashleymcglone/2015/06/11/updated-copy-and-merge-group-policies-gpos-with-powershell/

Interesting group policy/powershell blog: https://sdmsoftware.com/group-policy-blog/

Maybe there’s some low-level way to do it with “get-adobject -properties *” ?

Copy and Merge Group Policies (GPOs) with PowerShell
This script will help with GPO consolidation and cleanup. It includes reports for linked and unlinked GPOs with detailed status.
gallery.technet.microsoft.com/scriptcenter/Copy-and-Merge-Group-918af45a