VMware Cloud Community
as900w
Hot Shot
Hot Shot

Get VM Tools infomation failed

I use get-datacenter to get VM tools infomation in my vSphere environment.

But it's failed,Why?

pastedImage_0.png

0 Kudos
8 Replies
dbalcaraz
Expert
Expert

Your command is correct.

Maybe there is something weird in the VM that is trying to query...

Let's try:

Execute Get-VM and check if it throws the same exception and underlining the Commandlet.

If it continues appearing the same exception I would:

1. Try in another workstation with PowerCLI and see if works.

2. Uninstall/Install PowerCLI on the affected workstation.

-------------------------------------------------------- "I greet each challenge with expectation"
0 Kudos
as900w
Hot Shot
Hot Shot

I use PowerPLI connection to another vCenter, the same command, it's OK.

0 Kudos
dbalcaraz
Expert
Expert

And with that vCenter it throws the exception?

Seems weird...it seems more a problem when querying a particular VM...

Could you try again, but only with the Get-VM?

-------------------------------------------------------- "I greet each challenge with expectation"
0 Kudos
as900w
Hot Shot
Hot Shot

Yes, only the vCenter Server has the issue.

I new create a VM, it is OK.

but old VMs, it's failed

0 Kudos
RickVerstegen
Expert
Expert

Are the vCenter versions different? On what version of vCenter is the affected one?

Was I helpful? Give a kudo for appreciation!
Blog: https://rickverstegen84.wordpress.com/
Twitter: https://twitter.com/verstegenrick
0 Kudos
as900w
Hot Shot
Hot Shot

vCenter 6.7 is failed

vCenter 6.5 is OK

0 Kudos
MikeStoica
Expert
Expert

Is the VM Version updated also? It might be because of the VM version.

0 Kudos
as900w
Hot Shot
Hot Shot

It's two environment.

VM version is latest

0 Kudos