VMware Cloud Community
LarrySong
Contributor
Contributor

VMware powershell snapin, curious results order of cmdlet Get-VM.

Hi All,

I found vmware powershell command get-vm which used to get vm objects, not ordered by name or MoRef, at first i thought the order is randomly. so i tried open 2 instances of powershell, connect to same vCenter, ran Get-VM cmdlet, found the results are same, all VM ordered in a same sequence, i think that means there is a internal way already completed the sort before pass results to me. so, want to ask if anyone know how it goes? just curious.

Thanks,

Larry

Reply
0 Kudos
0 Replies