Scenario 33

< Back | Next>

Scenario:

You recently upgraded a vSphere environment to vSphere 5.5 and want to use the Inventory Provider feature in PowerCLI.

Requirements:

Environment Information:

VDCA510 Objective: N/A
VDCA550 Objective: 7.1 – Execute VMware Cmdlets and Customize Scripts Using PowerCLI

Guide Reference(s):

 

Click Here For Solution

 

Solution

Connect-VIServer -Server ‘vcenter-01’ -user Administrator -password vmware
$root = Get-Folder -Norecursion
New-PSDrive -Location $root -Name V -PSprovider VimInventory -Root ‘\’
cd V:
cd  ‘\Training\host\New Cluster\host-01.vclass.local’
ls