How do I run powershell scripts without admin rights?

前端 未结 5 702
再見小時候
再見小時候 2021-01-31 22:50

If I try to change the execution policy, I get a message that says I can\'t modify the registry because I\'m not an administrator.

It seems like this should be possible,

5条回答
  •  北海茫月
    2021-01-31 23:16

    You can try and set the policy of the process itself.

    powershell.exe -ExecutionPolicy bypass

提交回复
热议问题