VMware PowerCLI

The Best User Interface for your VMware Datacenter!

Update 'Open-VMConsoleWindow -UrlOnly' option to provide an actual URL not UNC path

Often when working with co-workers it would be helpful to be able to provide a web url to them, vs. a UNC path that might be different on their machine. Additionally I often will post a url to a vm in a web app that I am using as third party access. 

I propose that you change the current behavior and add 'UNCPath' or add an addtional option for a 'WebUrl'.

Command: Open-VMConsoleWindow -VM $vm -UrlOnly



This is a sample line I use to build up my own webUrl in powershell (Each version of vSphere is slightly different):


Let me know if I can provide more details.

  • Justin Sider
  • May 8 2018
  • Planned
  • Attach files
  • Guest commented
    23 Jan, 2020 02:05am

    Could you please share the code to generate the browser URL from the vmrc URL?