Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Viewing the C:\ of a Vm via PowerCLI

Posted on 2014-08-06
Medium Priority
Last Modified: 2014-08-06
Hi Experts,

I need some help with a system disk running low on capacity on a server VM. The thing is this Vm is a guest on ESX 3.5 and im using a Windows 8 laptop and I suspect the message I get that the "VcxClient has stopped working" when I try to connect to the Host.

I cant RDP to the Server possibly due to the capacity issues. So I was thinking if there is a way I could connect to the vm through PowerCLi and go through the vm's c:\ and clear out anything that is not required. I've successfully connected to the host using Connect-VIServer, though I'm not sure how I would connect to the guest vm and view its c:\

Im using PowerCLi 5.5 1 and tried using the Get-VM “GuestName” | Open-VMConsoleWindow but I'm not sure its supported by the version of ESX. as I get the below message.

Open-VMConsoleWindow : The method is not supported in the API version 2.5u2.
At line:1 char:17
+ get-vm VMS006 | Open-VMConsoleWindow
+                 ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Open-VMConsoleWindow], NotSupportedException
    + FullyQualifiedErrorId : System.NotSupportedException,VMware.VimAutomation.ViCore.Cmdlets.Commands.OpenVMConsoleWindow

Thanks in advance for the assistance.
Question by:damejen
LVL 125

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40243250
You could look at using the following:-

It's also worth looking at The free VMware Guest Console


it will allow you to browse the VM file system

Author Closing Comment

ID: 40243359
Hi Andrew,

Great tool to use, thanks for the help, I have been able to  clear the capacity issue on the guest vm. Just out of curiosity is there a cmdlet to connect to the guest and view the contents of the c:\ or any other disk on the guest vm?

Thanks for the help.

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
August and September have been big months for VMware—from VMworld last month to our new Course of the Month in VMware Professional - Data Center Virtualization. We reached out to Andrew Hancock, resident VMware vExpert, to have a more in-depth discu…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question