Quantcast
Viewing all articles
Browse latest Browse all 175326

Getting information about Guest in table

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


Viewing all articles
Browse latest Browse all 175326

Trending Articles



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