Convert String Into Array Powershell If Statement