Highlighted
Enthusiast
Enthusiast

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

Jump to solution

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
Highlighted
User Moderator
User Moderator

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
Highlighted
User Moderator
User Moderator

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