Viewing the C:\ of a Vm via PowerCLI

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.
damejenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You could look at using the following:-

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

http://labs.vmware.com/flings/vgc

it will allow you to browse the VM file system
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
damejenAuthor Commented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.