Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

how to show the network info for a server + number of processors using Get-VMHost command

$
0
0

I run the following powercli 5.5 command , to get info about a host vm :-

Get-VMHost|Export-Csv-Path c:\VM.csv -NoTypeInformationUseCulture

and I got these info :-

 

 

State   ConnectionStatePowerState  VMSwapfileDatastoreId   VMSwapfilePolicy   ParentId   IsStandalone   Manufacturer   Model   NumCpu  CpuTotalMhzCpuUsageMhzLicenseKey  MemoryTotalMB   MemoryTotalGB   MemoryUsageMB   MemoryUsageGB   ProcessorType   HyperthreadingActive   TimeZone   VersionBuild   Parent  VMSwapfileDatastoreStorageInfoNetworkInfoDiagnosticPartitionFirewallDefaultPolicy   ApiVersion  Name   CustomFields   ExtensionData   Id  UidConnected   Connected   PoweredOn   WithVM  Folder-ha-folder-host TRUE HP  ProLiant DL365 G5  8   18400   1402   5M230-08JDM-J8R41-05NH4-2DR3N   16381.8554715.9979057313184   12.875  Quad-Core AMD Opteron(tm)Processor2356  FALSE UTC 5.0.0   623860  host  HostStorageSystem-storageSystem localhost:  mpx.vmhba1:C0:T0:L0 VMHostFirewallDefaultPolicy:HostSystem-ha-host  5   172***.101  VMware.VimAutomation.ViCore.Impl.V1.Util.ReadOnlyDictionary`2[System.String,System.String] VMware.Vim.HostSystem HostSystem-ha-host /VIServer=root@***:443/VMHost=HostSystem-ha-host/

But I have these 2 questions:-

  • under the networkinfo column I got the following "localhost:" instead of getting the host ip, mac, et.. so what is causing the Networkinf to not show the actual network info ?
  • for the NumCpu column I got 8, which is the number of cores in our case. as in our case we have 2 processes with 4 cores on each processor. so my question is how I can get the number of processes (2 in our case) instead of getting the number of cores ?is this possible ?

Viewing all articles
Browse latest Browse all 175326

Trending Articles



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