This is due to the PowerShell's policy to prevent untrusted scripts which can affect your Server environment. Solution: Open PowerShell Console by selecting "Run as Administrator" and set the execution Policy with the command: Set-ExecutionPolicy RemoteSigned

Mar 07, 2020 File cannot be loaded because the execution of scripts is Oct 05, 2019 Different ways to bypass Powershell execution policy :.ps1 Aug 19, 2017 Fix: Execution of Scripts is Disabled on this system

Apr 13, 2020

Different ways to bypass Powershell execution policy :.ps1 Aug 19, 2017

Changing directly ExecutionPolicy value to "Bypass" under 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" Assigning Full Access permissions to the running account over the key 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" by right-clicking it and selecting Permissions

Apr 13, 2020 Fix: Execution of scripts is disabled on this system Sometimes the execution of scripts is disabled by default on users’ systems and it needs to be enabled manually using methods such as running commands in PowerShell or tweaking the registry. If the execution is disabled at a higher scope, you may need to enable it …