Forum Discussion
Hunter_Foote
Feb 08, 2022Copper Contributor
Issue with custom scripts on Sharepoint site
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.
1 Reply
Sort By
- stumCopper Contributor
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