Powershell profile.ps1 cannot be loaded because its operation is blocked by software restriction policies
解决方法:修改注册表
[HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftPowerShell1ShellIdsMicrosoft.PowerShell]
"ExecutionPolicy"="Unrestricted"
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1ShellIdsMicrosoft.PowerShell]
"ExecutionPolicy"="Unrestricted"