There are lot's of resources that show how to do GPO search with PS, those settings notwithstanding.
MS powershellgallery.com even has scripts for sort of search.
Search all GPOs in a domain for a string
This is a simple Powershell script that uses the Group Policy cmdlets to search for a string within GPOs. The only input is the string to search for.
As well as others have provided samples to experiment with... Examples I've looked into previously...
Find specific setting in GPO
GPO Setting Search Powershell Example
Powershell – Search all Group Policies (GPO) for a string
Method 2: Searching Group Policy with PowerShell