Hi Dear! I'm using this:
Get-VM | Select Name,VMHost,NumCPU,PowerState,MemoryMB,@{N="Datastore"; E={$_ | Get-Datastore}}
Output:
Name | : pvmlxxxx |
VMHost | : php00xxxr |
NumCpu | : 2 |
PowerState : PoweredOn
MemoryMB : 8192
Datastore : VNXSxx
I need this output in .HTML:
Name|VMHost|NumCpu|PowerState|MemoryMB/GB|Datastore
Any can help me about this?
Tks Carlos