Powershell Select String Recursive Function