Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251579

Re: Trouble exporting output to csv file

$
0
0

If you have VMs that are stored on multiple datastores, you can do it like this

 

Get-Folder$folder|Get-VM|SelectName,
@
{N="DS Name";E={[string]::Join(',',(Get-Datastore-RelatedObject$_|Select-ExpandPropertyName))}} |
Export-Csvtest.csv-NoTypeInfo

Viewing all articles
Browse latest Browse all 251579

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>