Connect Powershell to Virtual Machine Manager


i am trying to connect to my VMM through powershell.
I will execute the command on a different host (not on the VMM Server).
The output should be a list with my VMs and my HVS hosts.

What is the command to connect powershell to the vmm with credentials?

Thanks for you help!

Welcome to the forum.

The cmdlet …

… takes a credential object for the parameter -Credential if you don’t use an account with the according access rights to the target computer.