Scenario 23

< Back | Next>

Scenario:

You are the administrator of a large vSphere environment for which management automation is extremely important. You use PowerCLI to create detailed reports containing information that is not readily available in the vSphere Client. You want to begin by using PowerCLI to display information on all ESXi hosts and VMs.

Requirements:

Use PowerCLI to perform each of the following tasks:

Environment Information:

Objective: 8.1 Execute VMware Cmdlets and Customize Scripts Using PowerCLI

Guide Reference(s):

 

Click Here For Solution

 

Solution

To accomplish this task, the administrator can perform the following steps:

Connect-VIServer vcenter-01.lab.local

Get-VMHost

Get-VM