Postgresql Find Substring In Powershell Script Running