Append Object To Array Powershell Script If Statement