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

How to combine the result of two PowerShell script into one script ?

$
0
0

Hi,

 

I've got the two lines of PowerShell script that I use to get some ESXi server information, so I wonder how do I combine these two into the single result in a CSV file ?

 

Get-VMHost | Get-VMHostNetwork | Select Hostname, DomainName, Name, VMHost, DNSAddress | ft -AutoSize

Get-VMHost | Select Name, Version, Manufacturer, Model | ft -AutoSize

 

Thanks in advance,


Viewing all articles
Browse latest Browse all 178776

Trending Articles