Postgresql Find Substring In Powershell Script To Enable Wake