Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 180259

Combine multiple get statement

$
0
0

This question is probably answered numerous times but I have a hard time figuring the answer, so here it is.

 

Often time I need to combine multiple get statements into the output, for exmaple, Get-NetworkAdapter and Get-VMHostSysLogServer. These get statement do not have the vm or host on the output. How can aggregiate the vm name and host name in the output? For instance:

 

Get-VMHostSysLogServer would generate -

 

Host
----
10.10.10.1

 

How can I append the ESX host column in the output?

 

Esx      Host
---          ----
ESX1     10.10.10.1


Viewing all articles
Browse latest Browse all 180259

Trending Articles



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