In Windows 11, Powershell has an “execution policy” security feature that controls how to load configuration files and run scripts to prevent malicious code from running on the system. So sometimes when trying to run a script on PowerShell, it...
Read more at How to change execution policy in PowerShell to run scripts in Windows 11