Powershell profile.ps1 cannot be loaded because its operation is blocked by software restriction policies
Iano Njuguna
Posted on February 21, 2024
If I delete or move the problem profile script then all of my PowerShell hosts start without errors, including the PowerShell ISE which was using it's own Current User Current Host script C:\Users\MyUserName\Documents\WindowsPowerShell\Microsoft.PowerShellISE_profile.ps1
It turns out that the problem with my All Hosts profile script was that it was completely…
💖 💪 🙅 🚩
Iano Njuguna
Posted on February 21, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.