./build.ps1 : File C:\Users\User\...\onix1-bonsai-docs\build.ps1 cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ ~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
Error that comes up is:
As per this, solution is to:
Open PowerShell as Administrator and run
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Make sure we recommend the most restrictive policy that allows us to run the powershell commands.