Right click powershell –> run as administrator
then just cd C:\filelocation and finally ./filename.ps1
this should work, do make sure you are logged in with email@example.com or domain\administrator not just administrator (as that automatically logs you in with local user).
- Views297 times
- Answers6 answers