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.
We will look at two PowerShell Cmdlets that show a wealth of information about the local computer.