Append Object To Object Array In Powershell If Condition