Powershell: Get processes for the current user

Powershell’s Get-Process command lists the processes run by all users, which is not always useful, e.g. when running scripts for users with non-elevated rights. Here is a workaround function: PowerShell #Alternative to Get-Process (get processes of all users)...
  [email protected]