Making parameter-passing windows powershell compatible