Feb 08 2022 03:06 PM
Hello, I have enabled custom scripts on my SharePoint site, but am seemingly unable to execute anything. Trying to add a Bing Maps Key, followed the instructions to do so, and it is not letting me on the basis of some sort of prohibition on custom scripts despite having enabled them on the SharePoint site and waited the 24 hours.
Feb 08 2022 08:24 PM
Hi,
You need to set the execution policy for your PowerShell. You can set it to unrestricted which will let you run Import-Module and then you can install other modules.
To set it:
Set-ExecutionPolicy Unrestricted