Convert String Into Array Powershell Script If Statement