Create Dynamic Array In Powershell Foreach Command