Creating log bundles

VMware Technical Support might ask for a log bundle when you submit a support request. You can create a log bundle from the vCenter Server's log files with the following command:

PowerCLI C:\> Get-Log -Bundle -DestinationPath c:\

The output of the preceding command is as follows:

Data
----
C:\vcsupport-52387fc8-52de-113b-7f28-1908e9ffa0d7.zip

In the following command, we will create a log bundle from the log files on the host 192.168.0.133:

PowerCLI C:\> Get-Log -VMHost 192.168.0.133 -Bundle -DestinationPath c:\

The output of the preceding command is as follows:

Data
----
C:\vmsupport-52348fab-b7a7-97f1-bf2a-719b91ab84b3.tgz

Get Learning PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.