How To Get Variable Type In Powershell For Loop