Configuring NIC's on VM's

Hello Folks,
   I came across situation where we migrated Bunch of VM's to new Vcenter and we need to configure NIC's on all VM's. I am sharing script which helped me to automate this process.

Adding routes on multiple ESXi hosts

Today I am sharing script to configure routes on multiple hosts. Below is the script


Fetching HBA details for ESXi

Today i came across the scenario where one of our host  not seeing few luns from particular storage array. Upon analyzing though we have redundant hba's hosts were not logging properly into switch. Storage team decided to check all paths details for each and every ESXi host.


Changing ESXi root credentails

I had come across the scenario where we need to change ESXi root passwords frequently.. when we have 100+ ESXi hosts in the environment it is not going to be easy., In this post i am going to share two scripts,

Disable/Enable/View ATSHB in ESXi


  In this post we are going to see how to enable/disable ATSHB feature in ESXi using powershell.
I am sharing two commands in single script you can modify accordingly. First line is to view current settings and second is to modify values.

Dead Paths list using powershell

Dead Paths are always been an headache for vmware admin. Some cases that leads host into not responding state. Here i am sharing powershell script to pull dead path list from vcenter. you can modify it accordingly if you want to run it for specific cluster/host.


Fetching Vmotion IP address for ESXi hosts

Most of the cases we use private IP addresses for vmotion vmkernel. Sometimes we run into IP conflict , which cause issues with vmotion. Here i am going to share script to pull vmotion IP details for your environment.

Powershell and Powercli integration

Lets integrate Powercli with powershell, So that our day to day tasks can be automated using powershell in efficient way.