1 Reply Latest reply on Jan 17, 2020 12:21 PM by jburen

    coredump

    gartie Lurker

      Hi All,

       

      Have a number of ESX hosts that do not have coredump configured.

      Looking for a script to scan my environment to see if coredump is enabled.

      I can do it one at a time with esxcli system coredump file list

       

      thanks

       

      gary

        • 1. Re: coredump
          jburen Hot Shot
          vExpert

          You can use the PowerCLI cmdlet Get-EsxCli to run the command from powershell. You can use something like this:

           

          foreach ($h in Get-VMHost) {

            $esxcli = Get-EsxCli -VMHost $h

            $esxcli.system.coredump.file.list()

          }

          1 person found this helpful