More powershell/shell related issues