Wednesday, August 26, 2015

Rename those ugly ESXi local datastores via powercli

Who doesnt like it clean and near? I know that i like it. Whenever you see install a bunch of esxi and go to the datastore section you will see some ugly local datastores there as
datastore1
datastore1(1)
datastore1(2)
and so on. It will be very nice to rename them with something like host+local right? except you dont want to do it for 10 hosts do you?
Then here you go. A powercli scriptlet as your saviour for the day.