Currently Get-VM will return all VMs.
On the other hand, Get-VirtualSwitch does not return all virtual switches. Instead you must specify a VMHost or VM argument that causes a subset to be returned. Does anyone prefer this behavior? Would it cause problems if Get-VirtualSwitch returned all virtual switches, even given the fact that you may have a lot of virtual switches with different names across different hosts?
To take it even farther, should Get-HardDisk return all hard disks, along with a pointer to the VM that owns them?
Thoughts?
On the other hand, Get-VirtualSwitch does not return all virtual switches. Instead you must specify a VMHost or VM argument that causes a subset to be returned. Does anyone prefer this behavior? Would it cause problems if Get-VirtualSwitch returned all virtual switches, even given the fact that you may have a lot of virtual switches with different names across different hosts?
To take it even farther, should Get-HardDisk return all hard disks, along with a pointer to the VM that owns them?
Thoughts?