2 Replies Latest reply on Mar 12, 2018 4:42 PM by AlbertWT

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

    AlbertWT Master



      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,