Sunday, September 17, 2017

AzureRM.Profile.psm1 cannot be loaded because running scripts is disabled on this system. - Import-Module AzureRM.profile

Set-ExecutionPolicy RemoteSigned

Above powershell command sets the execution policy to run the scripts on the system.