The newer version is called PowerShell Core or simply PowerShell, and the latest stable release is PowerShell 7.
The solution is to change the execution policy to one that allows scripts to run.
Both errors happen when you try to run commands on remote computers using the -ComputerName parameter.