Hi
I would like to get a list of all VirtualMachineGuestOsIdentifier within PowerCLI.
Smth like this:
I tried this:
(get-vm | get-vmguest).GuestID | sort | unique
This Shows all IDs but only from existing VMs, but i want all of it :-)
I am trying to get the list over the Type "GuestID", but I am not able to do it.
With this line i'm getting the TypeName:
Get-Vm <servername> | get-vmguest | get-member guestid
=> TypeName: VMware.VimAutomation.ViCore.Impl.V1.VM.Guest.VMGuestImpl
Now, I have no idea how to go further from this.
Can you please help me? Or is there a better way?
Thank you very much