O'Reilly logo

PowerCLI Cookbook by Philip Sellers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring custom storage and path selection policies

One of the more common uses for ESXCLI in PowerCLI is the configuration of Storage Array Type Plug-in (SATP) and path selection policy (PSP) settings. These configurations are particularly important from array to array. While ESXi ships with many default configurations, storage array vendors often have specific settings and claim rules that might need to be configured on each host. These settings can easily be set with ESXCLI, and since it works on the command line, it can work in PowerCLI with the ESXCLI object.

Getting ready

To begin this recipe, you will need a PowerCLI window and a connection to a vCenter Server. If we continue from the previous recipe, you can leverage the ESXCLI object ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required