Reply to Message

View discussion in a popup

Replying to:
jessem
Enthusiast
Enthusiast

How can I output this to a csv or file?

Get-VM | Sort | Get-View -Property @("Name", "Config.GuestFullName", "Guest.GuestFullName") | Select -Property Name, @{N="Configured OS";E={$_.Config.GuestFullName}},  @{N="Running OS";E={$_.Guest.GuestFullName}} | Format-Table -AutoSize


Reply
0 Kudos