VMware Cloud Community
winsolo
Enthusiast
Enthusiast
Jump to solution

Get-DrsVMGroup - List all the VMs in a VM/Host Group

Snag_13404e3d.png

The strings in the vm property seem to have been truncated, therefore the property doesn't list the complete list of VMs in a particular VM/Host group. Is there a way to pull all the VMs from a group?

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Those 3 dots just indicate that PowerShell can't show all the values on your screen, but they are definitely there.

You can check with

Get-DrsVMGroup -Name "SQL Server VMs" | Select-Object -ExpandProperty VM


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

1 Reply
LucD
Leadership
Leadership
Jump to solution

Those 3 dots just indicate that PowerShell can't show all the values on your screen, but they are definitely there.

You can check with

Get-DrsVMGroup -Name "SQL Server VMs" | Select-Object -ExpandProperty VM


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference