Ensure that the server exists, that System Center Operations Manager is installed and running successfully on the server, ...

Ensure that the server exists, that System Center Operations Manager is installed and running successfully on the server, and that Virtual Machine Manager has the appropriate rights to perform this action. Use Remove-SCOpsMgrConnection -Force if you are trying to remove the connection to that server.