New-SPSite : User cannot be found.

05/06/2014 11:22

New-SPSite : User cannot be found.


My script suddenly didn't work when creating team site from Powershell


It was caused by not running PS as administrator, so problem was in my own account