<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is required in order to have Get-Log -Bundle to work for an ESXi host? in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976813#M112586</link>
    <description>&lt;P&gt;I see. And I recognize that the description says a vCenter Server. However, the very &lt;A href="https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.core/commands/get-log/#logBundleSet" target="_self"&gt;Get-Log documentation&lt;/A&gt; you shared in your first response appears to show that VMHost is a valid parameter of that set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tocano_0-1689099698071.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/102542i0920D94A0B6E271F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Tocano_0-1689099698071.png" alt="Tocano_0-1689099698071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm not trying to be difficult. I just swear that this used to work - and the Help example and the parameterset documentation seem to reaffirm my memory. And I tend to exhaust trying the more straightforward approach before I adopt more complicated alternatives.&lt;BR /&gt;&lt;BR /&gt;I have no problem taking your recommended approach - as long as zipping the resulting individual log files would satisfy VMware Support as the same as the support bundle generated by the system.&amp;nbsp; Edit: Your approach returns just 4 specific log files, whereas the log bundle created by the host returns dozens of different logs, plus configuration and state files.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2023 18:44:12 GMT</pubDate>
    <dc:creator>Tocano</dc:creator>
    <dc:date>2023-07-11T18:44:12Z</dc:date>
    <item>
      <title>What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976790#M112574</link>
      <description>&lt;P&gt;I can connect to a vCenter and fetch a log bundle for the vCenter itself:&lt;/P&gt;&lt;PRE&gt;&amp;gt; Connect-VIServer -Server vCenterFQDN -Credential (Get-Credential)&lt;BR /&gt;...&lt;BR /&gt;&amp;gt; Get-Log -Bundle -DestinationPath E:\Downloads\&lt;BR /&gt;VERBOSE: 7/11/2023 11:11:07 AM Get-Log Finished execution&lt;BR /&gt;Data&lt;BR /&gt;----&lt;BR /&gt;E:\Downloads\vcsupport-[guid].tgz&lt;/PRE&gt;&lt;P&gt;This works fine.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;However, when I attempt to download a log bundle from an ESXi host, nothing happens.&lt;/P&gt;&lt;PRE&gt;&amp;gt; $vmHost = Get-VMHost esxiHostnameFQDN&lt;BR /&gt;&amp;gt; $vmHost | Get-Log -Bundle -DestinationPath E:\Downloads\&lt;BR /&gt;VERBOSE: 7/11/2023 11:32:35 AM Get-Log Finished execution&lt;BR /&gt;&amp;gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;At which point, nothing happens. No error that I can see. No empty file created. No verbose lines indicating an issue or other information whatsoever. It just returns next prompt and doesn't do anything.&lt;BR /&gt;&lt;BR /&gt;So while it is less than ideal, I decided I'd directly connect to the various ESXi hosts I want to get log bundles from and get the logs individually that way.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;gt; Connect-VIServer -Server esxiHostnameFQDN -Credential (Get-Credential) # root&lt;BR /&gt;...&lt;BR /&gt;&amp;gt; Get-Log -Bundle -DestinationPath E:\Downloads\&lt;BR /&gt;VERBOSE: 7/11/2023 12:13:39 PM Get-Log Finished execution&lt;BR /&gt;Get-Log: 7/11/2023 12:13:41 PM Get-Log The operation for the entity "[esxiHostnameFQDN]" failed with the following message: "A general system error occurred: Internal error"&lt;BR /&gt;Get-Log: 7/11/2023 12:13:41 PM Get-Log 7/11/2023 12:13:41 PM Get-Log The operation for the entity "[esxiHostnameFQDN]" failed with the following message: "A general system error occurred: Internal error"&lt;/PRE&gt;&lt;P&gt;Well that's not a very helpful error message. And I'm kind of hitting a roadblock.&lt;/P&gt;&lt;P&gt;Perhaps something with permissions? I mean, I'm using an admin (though not &lt;A href="mailto:administrator@vsphere.local" target="_blank"&gt;administrator@vsphere.local&lt;/A&gt;) when connecting to the vCenter. And I'm connecting as root to the ESXi directly. So that doesn't feel like the problem.&lt;/P&gt;&lt;P&gt;I started feeling this might be something like firewall blocking needed ports or some issue with a self-signed certificate or something. However, if - from the same host I'm running the PSConsole - I hit the UI for the host (&lt;A href="https://[esxiHostnameFQDN]/ui" target="_blank" rel="noopener"&gt;https://[esxiHostnameFQDN]/ui&lt;/A&gt;) I can download the log bundle through the&amp;nbsp;/cgi-bin/vm-support.cgi endpoint. So I have the necessary ports open for https and whatever PowerCLI/Connect-VIServer uses to connect to the host. Plus, I'm neither getting any warnings about certificates when I hit that host via PowerCLI nor through the https UI.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I'm at a bit of a loss and am trying to understand what might be going on here.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any help would be appreciated.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;EnvInfo:&lt;/P&gt;&lt;PRE&gt;&amp;gt; $PSVersionTable&lt;BR /&gt;&lt;BR /&gt;Name Value&lt;BR /&gt;---- -----&lt;BR /&gt;PSVersion 7.3.4&lt;BR /&gt;PSEdition Core&lt;BR /&gt;GitCommitId 7.3.4&lt;BR /&gt;OS Microsoft Windows 10.0.17763&lt;BR /&gt;Platform Win32NT&lt;BR /&gt;PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}&lt;BR /&gt;PSRemotingProtocolVersion 2.3&lt;BR /&gt;SerializationVersion 1.1.0.1&lt;BR /&gt;WSManStackVersion 3.0&lt;/PRE&gt;&lt;PRE&gt;&amp;gt; Get-PowerCLIVersion&lt;BR /&gt;PowerCLI Version&lt;BR /&gt;----------------&lt;BR /&gt;VMware.PowerCLI 13.1.0 build 21624340&lt;BR /&gt;---------------&lt;BR /&gt;Component Versions&lt;BR /&gt;---------------&lt;BR /&gt;VMware Common PowerCLI Component 13.1 build 21605386&lt;BR /&gt;VMware Cis Core PowerCLI Component PowerCLI Component 13.1 build 21605976&lt;BR /&gt;VMware VimAutomation VICore Commands PowerCLI Component PowerCLI Component 13.1 build 21606170&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;gt; $global:DefaultVIServer | Select Version,Build&lt;BR /&gt;&lt;BR /&gt;Version Build&lt;BR /&gt;------- -----&lt;BR /&gt;8.0.1 21860503&lt;/PRE&gt;&lt;PRE&gt;&amp;gt; $vmHost | Select Version,Build&lt;BR /&gt;&lt;BR /&gt;Version Build&lt;BR /&gt;------- -----&lt;BR /&gt;8.0.1 21495797&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 16:56:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976790#M112574</guid>
      <dc:creator>Tocano</dc:creator>
      <dc:date>2023-07-11T16:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976796#M112577</link>
      <description>&lt;P&gt;The &lt;STRONG&gt;-Bundle&lt;/STRONG&gt; parameter is part of the &lt;STRONG&gt;logBundleSet&lt;/STRONG&gt; of the &lt;A href="https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.core/commands/get-log/#logBundleSet" target="_blank" rel="noopener"&gt;Get-Log&lt;/A&gt; cmdlet.&lt;BR /&gt;It is only valid for a vCenter.&lt;BR /&gt;&lt;BR /&gt;For retrieving logs from ESXi nodes you need the &lt;STRONG&gt;logSet&lt;/STRONG&gt; parameterset.&lt;BR /&gt;There the &lt;STRONG&gt;Key&lt;/STRONG&gt; parameter allows you to indicate which specific log you want to retrieve.&lt;BR /&gt;The allowed values on the Key parameter can be found under the Key property of the objects returned by &lt;A href="https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.core/commands/get-logtype/" target="_blank" rel="noopener"&gt;Get-Log&lt;/A&gt;Type&lt;BR /&gt;&lt;BR /&gt;For example something like this&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;$timeStamp = (Get-Date).ToString('yyyyMMdd-HHmm')

Get-VMHost -PipelineVariable esx |
ForEach-Object -Process {
   Get-LogType -VMHost $esx -PipelineVariable log |
   ForEach-Object -Process {
      Get-Log -VMHost $esx -Key $log.Key |
      Select -ExpandProperty Entries |
      Out-File -FilePath .\"log-$($esx.Name)-$($log.Key)-$timeStamp.log"
   }
}&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 11 Jul 2023 17:32:33 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976796#M112577</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2023-07-11T17:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976803#M112581</link>
      <description>&lt;P&gt;I appreciate the prompt response. However, I'm confused:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&amp;gt; Get-Help Get-Log -Examples&lt;BR /&gt;&lt;BR /&gt;NAME&lt;BR /&gt;Get-Log&lt;BR /&gt;&lt;BR /&gt;SYNOPSIS&lt;BR /&gt;This cmdlet retrieves entries from vSphere logs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-------------------------- Example 1 --------------------------&lt;BR /&gt;&lt;BR /&gt;$keys = Get-LogType&lt;BR /&gt;&lt;BR /&gt;Get-Log -Key $keys[0]&lt;BR /&gt;&lt;BR /&gt;Obtain the available keys. Obtains the first log file from the currently connected vCenter Server system.&lt;BR /&gt;-------------------------- Example 2 --------------------------&lt;BR /&gt;&lt;BR /&gt;$vmhost = Get-VMHost Host&lt;BR /&gt;&lt;BR /&gt;$keyList = Get-LogType -VMHost $vmhost&lt;BR /&gt;&lt;BR /&gt;$vmhost | Get-Log -Key $keyList[0] -StartLineNum 1 -NumLines 100&lt;BR /&gt;&lt;BR /&gt;Retrieve the first one hundred log lines for the specified host and key.&lt;BR /&gt;-------------------------- Example 3 --------------------------&lt;BR /&gt;&lt;BR /&gt;Get-VMHost Host | Get-Log -Bundle -DestinationPath "D:\VMHostBundeLog"&lt;BR /&gt;&lt;BR /&gt;Retrieve a bundle log for the specified host.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;(see Example 3)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 17:56:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976803#M112581</guid>
      <dc:creator>Tocano</dc:creator>
      <dc:date>2023-07-11T17:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976807#M112583</link>
      <description>&lt;P&gt;Looks like you discovered an error in the Help examples.&lt;BR /&gt;The explanation of the Bundle parameter is quite clear&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LucD_0-1689098690776.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/102540iCC8562CA2BE89708/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LucD_0-1689098690776.png" alt="LucD_0-1689098690776.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:04:58 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976807#M112583</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2023-07-11T18:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976813#M112586</link>
      <description>&lt;P&gt;I see. And I recognize that the description says a vCenter Server. However, the very &lt;A href="https://developer.vmware.com/docs/powercli/latest/vmware.vimautomation.core/commands/get-log/#logBundleSet" target="_self"&gt;Get-Log documentation&lt;/A&gt; you shared in your first response appears to show that VMHost is a valid parameter of that set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Tocano_0-1689099698071.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/102542i0920D94A0B6E271F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Tocano_0-1689099698071.png" alt="Tocano_0-1689099698071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I'm not trying to be difficult. I just swear that this used to work - and the Help example and the parameterset documentation seem to reaffirm my memory. And I tend to exhaust trying the more straightforward approach before I adopt more complicated alternatives.&lt;BR /&gt;&lt;BR /&gt;I have no problem taking your recommended approach - as long as zipping the resulting individual log files would satisfy VMware Support as the same as the support bundle generated by the system.&amp;nbsp; Edit: Your approach returns just 4 specific log files, whereas the log bundle created by the host returns dozens of different logs, plus configuration and state files.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:44:12 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976813#M112586</guid>
      <dc:creator>Tocano</dc:creator>
      <dc:date>2023-07-11T18:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976816#M112587</link>
      <description>&lt;P&gt;I support wants a bundle then perhaps ask them how to create one.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:46:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976816#M112587</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2023-07-11T18:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976817#M112588</link>
      <description>&lt;P&gt;Afaik, the VMHost parameter in the logBundleSet parameterset includes the ESXi logs together with the vCenter logs.&lt;BR /&gt;Is that what support is asking for?&lt;BR /&gt;&lt;BR /&gt;Also, perhaps try to use the VMHost parameter on the Get-Log cmdlet itself, and not via the pipeline.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:49:45 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976817#M112588</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2023-07-11T18:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976818#M112589</link>
      <description>&lt;P&gt;They'll tell me to log into each UI and click the 'Get Support Bundle' button. &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@DCF4E2F7991292CEECF250394DB2C2BC/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which as you know works fine for one or two hosts. But when I need to pull from all 40 hosts in our largest cluster or the over 100 we have across our entire production vCenter, automation is the way to go.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:51:56 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976818#M112589</guid>
      <dc:creator>Tocano</dc:creator>
      <dc:date>2023-07-11T18:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976819#M112590</link>
      <description>&lt;P&gt;Yeah, passing the VMHost parameter both directly or via the pipeline result in the same behavior: It begins to process, I get a Progress bar, then just nothing happens, no file created, and it returns to prompt.&lt;/P&gt;&lt;P&gt;I've also tried, as I showed, using Connect-VIServer directly to the ESXi host, but that's when I hit the actual error.&lt;/P&gt;&lt;P&gt;I'm starting to even play around with trying to use Invoke-RestMethod to pull from the &lt;A href="https://[esxiHostnameFQDN/cgi-bin/vm-support.cgi" target="_blank" rel="noopener"&gt;https://[esxiHostnameFQDN/cgi-bin/vm-support.cgi&lt;/A&gt;&amp;nbsp;endpoint. But not having much luck with that yet either.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I KNOW there's a way to fetch the log bundle created by an ESXi host (or at least there used to be). I swear I used to do it. I just haven't for several years and it felt I was hitting some kind of configuration issue on my end. Just trying to figure out what (and hoping that this hasn't been deprecated and removed)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 18:58:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976819#M112590</guid>
      <dc:creator>Tocano</dc:creator>
      <dc:date>2023-07-11T18:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976826#M112592</link>
      <description>&lt;P&gt;The Bundle is nothing more than a ZIP of the files.&lt;BR /&gt;If you ZIP the files created by the script I posted earlier, can Support live with that?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 19:43:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976826#M112592</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2023-07-11T19:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: What is required in order to have Get-Log -Bundle to work for an ESXi host?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976843#M112595</link>
      <description>&lt;P&gt;I mean, the system generated bundle is certainly more than just the zip of those 4 log files.&lt;/P&gt;&lt;P&gt;The bundle contains lots of additional config files, settings, system files, VM logs, and even the contents of entire system folders.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get 4 individual logs from your approach.&lt;/P&gt;&lt;PRE&gt;&amp;gt; Get-ChildItem -Recurse&lt;BR /&gt;&lt;BR /&gt;Directory: E:\Downloads\logFetchMethods\lucD_Approach&lt;BR /&gt;&lt;BR /&gt;Mode LastWriteTime Length Name&lt;BR /&gt;---- ------------- ------ ----&lt;BR /&gt;-a--- 7/11/2023 4:50 PM 1402258 log-________________________-fdm-20230711-1550.log&lt;BR /&gt;-a--- 7/11/2023 4:50 PM 303708 log-________________________-hostd-20230711-1550.log&lt;BR /&gt;-a--- 7/11/2023 4:50 PM 4695792 log-________________________-vmkernel-20230711-1550.log&lt;BR /&gt;-a--- 7/11/2023 4:50 PM 5034728 log-________________________-vpxa-20230711-1550.log&lt;/PRE&gt;&lt;P&gt;When I extract a system generated log bundle:&lt;/P&gt;&lt;PRE&gt;E:\Downloads\logFetchMethods\systemGeneratedBundleApproach&amp;gt; (Get-ChildItem -Recurse).Count&lt;BR /&gt;3854&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 21:23:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/What-is-required-in-order-to-have-Get-Log-Bundle-to-work-for-an/m-p/2976843#M112595</guid>
      <dc:creator>Tocano</dc:creator>
      <dc:date>2023-07-11T21:23:22Z</dc:date>
    </item>
  </channel>
</rss>

