Hi,
I am using vSphere Webclient 6.5 to manage certain VMs. But I am not VMWare admin, just a user. To easy searching for my 30 VMs out of our 200 over-all, my Vmware admin created a new Tag-Category with two tags and tagged my servers accordingly. But I can find no way to search for VMs that are tagged. Neither via the search field nor with the filter option.
Can anyone help?
Thanks
Michael
You must have tried this , thought to confirm.
In vSphere client
Home > Tags & Custom Attributes > Tag > <Select you tag here> > Objects.
You can see all the VMs with the particular Tag in 'Objects' pane.
Hi,
You could use PowerCLI with this commande line.
PowerCLI C:\> Get-VM | Get-TagAssignment | select Tag,Entity
Thank you,
Regards
You can do it by PowerCli as the previous user suggest or just click in the vSphere Web Client at the left panel "New Search", this is an advanced search that you can use for anything.
I grabbed this image from the internet (Select New Search):
Hi Marmotte94,
thanks for your suggestion.
I had a hard time getting VMware.Power-CLI going in an offline environment Windows 7. Just to run into another issue whenever trying to use a get-tag* command: error message "The SSL connection could not be established [...]".
So It seems to be a correct answer - if it works.
And if my VMWare admin would encourage me to use PowerCLI: He nearly slapped me when I told him I installed that stuff. He once had an issue wrecking half of the VMs after using a self made PowerCLI script. And VMWare support told him that they do not support scripts that are not from VMWare themselves.
I will mark your answer as correct.
Regards
You must have tried this , thought to confirm.
In vSphere client
Home > Tags & Custom Attributes > Tag > <Select you tag here> > Objects.
You can see all the VMs with the particular Tag in 'Objects' pane.
Hello yezdl and dbalcaraz,
you are both correct - if using the legacy flash Webinterface.
Both ways do work excellently.
I was looking for the same functionality in the HTML5 web interface. Neither of the suggestions do work there. Which is a shame for VMWare IMHO.
Thanks for your suggestions and input.
You helped me a lot - and I will use the flash interface from now on.
Regards