Powershell Check If Substring Exists Sql