You support a large vSphere environment, where you occasionally need to engage VMware Support to tackle tough issues. You occasionally need to generate diagnostic log bundles for your vSphere environment. You want to determine the proper PowerCLI commands for performing this task.
Chapter 7 - Generate vCenter Server and ESXi Log Bundles – Generate Log Bundle on the ESXi Host or vCenter Server Using PowerCLI
Launch PowerCLI and issue these commands:
Connect-viserver vcenter-01.lab.local
get-log -bundle -destinationPath d:\