Suddenly need to run .ps1 file as admin

I started getting access denied when I tried to run a .ps1 file. I needed to run Powershell as administrator first, however I can’t right click the .ps1 click and run as administrator. I need to open Powershell ISE as administrator then open the .ps1 file. Anyway for me to run a .ps1 as admin more easily?

submitted by /u/Tr1pline
[link] [comments]

Leave a Reply