An error occurred while attempting to connect to a Hyper-V server

An error occurred while attempting to connect to a Hyper-V server

While setting up a new Hyper-V failover cluster I got an error when trying to connect using the Hyper-V manager console: An error occurred while attempting to connect to server “[computername]”. Check that the Virtual Machine Management service is running...