- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
LucD,
the below script shows just the VM Name, I would like to get the Cluster and Folder Names of all the duplicate VMs.
I tried as below but Cluster and Folder info shows blank
Get-VM |
Group-Object -Property Name |
Where {$_.Count -gt 1} |
Select @{N='VM';E={$_.Name}},
@{N='Cluster';E={Get-Cluster -VM $_}},
@{N='Folder';E={$_.Folder.Name}}