Get-ExecutionPolicy
RemoteSigned
if you want to change to Unrestricted, try below script
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
if you want to change to RemoteSigned, try below script
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
RemoteSigned
if you want to change to Unrestricted, try below script
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
if you want to change to RemoteSigned, try below script
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser