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