Reply to Message

View discussion in a popup

Replying to:
LucD
Leadership
Leadership

Try like this

Get-VM | select Name,

    @{N='Datastore';E={(Get-View -Id $_.DatastoreIdList -Property Name).Name -join ','}}


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

View solution in original post