Create Dynamic Array In Powershell If Condition