Welcome, guest. Log in.

PowerShell

vCenter Operations Manager: PowerShell unofficial API

There is no official PowerShell or PowerCLI API available from VMware, but the blog on vElemental has a good article on how to make it work.

Change vSphere path policy to "Round Robin" via PowerCLI

A very common task we get during trainings as well as consulting/troubleshooting jobs is the request to automatically set all storage path policies to for example "Round Robin"

Normally you need to touch each host and volume, which can be pretty annoying, especially if you have more 8 or more hosts with each 5 or more LUNs allocated.

Step by step approach on how to address this with PowerCLI.

1) The object we are looking into is the ScsiLun which can be queried with the Get-ScsiLun command. The Get-ScsiLun command needs a host as a parameter, so the first run would be: Read more »

Syndicate content