System Object Array Powershell Foreach Command