Both errors happen when you try to run commands on remote computers using the -ComputerName parameter.