- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And if you want his for all duplicate VMS, you could do
Get-VM |
Group-Object -Property Name |
Where {$_.Count -gt 1} |
ForEach-Object -Process {
$_.Group |
Select Name,
@{N='Cluster';E={(Get-Cluster -VM $_).Name}},
@{N='Folder';E={$_.Folder.Name}}
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference