powershell get process foreach object