Making powershell work