[TIMOB-16958] Added detection for PowerShell permissions and fixed bug w...

...ith creating certs in project paths that contain spaces.