Macleud
Enthusiast
Enthusiast

Hi

Get-VM |
Group-Object -Property Name |
Where {$_.Count -gt 1} |
Select @{N='VM';E={$_.Name}},
@{N='Cluster';E={Get-Cluster -VM $_.Group}},
@{N='Folder';E={$_.Group.Folder.Name}}

Reply
0 Kudos