Techibee.com

PowerCLI: Connect to Console of a VM

If you have PowerCLI 5.5 R1 release or above then you can use Open-VMConsoleWindow cmdlet to connect to console of a VM. When this cmdlet is used it opens a browser window which shows the console of VM that you wanted to view. This is quite handy to view console of VM without actually connecting using Virtual Center client. Looks like the current version supports 32-bit version of Internet Explorer, Firefox and Chrome only. No 64-bit.

How to use?

Get-VM -Name myvmpc1 | Open-VMConsoleWindow

How it looks like?

Image source : https://blogs.vmware.com/PowerCLI

 

More information:

You read more about this feature and how it works under the covers at https://blogs.vmware.com/PowerCLI/2013/10/opening-the-virtual-machine-remote-console-through-powercli.html

Exit mobile version