I was recently watching a YouTube video of Hak5 and one of his videos were of the vulnerability of bypassing UAC and escalation of privileges through a .ps1 script. You can check the video out here.
But when experimenting on my own machine, PowerShell throws an error:
Image Source: StanleyUlili
Scripts are disabled to be run in my PowerShell. I searched on the web but did not find a good solution neither many of them worked.
How can I enable running scripts in PowerShell without running PowerShell as an administrator?
Any help is highly appreciated.
