Book Image

Learning PowerCLI for VMware VSphere

By : Robert van den Nieuwendijk
Book Image

Learning PowerCLI for VMware VSphere

By: Robert van den Nieuwendijk

Overview of this book

Table of Contents (17 chapters)
Learning PowerCLI
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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