Author Archives: in4sometech

PowerCli Script to List HPE Driver and Firmware

PowerCli Script to get HPE Driver and Firmware, Its ‘s  been hard coded to BL-460Gen8 and Gen9 and can be changed as per requirement.  $vmhosts = Get-Cluster “ClusterName” | get-vmHost $report = @() foreach( $ESXHost in $vmhosts) { $HWModel = get-vmHost $ESXHost | Select Name, Model $esxcli = Get-ESXcli -vmhost $ESXHost if($HWModel.Model -eq “ProLiant BL460c

Read More

List the ESXi host Storage LUN Path-count, State, and DatastoreName

The below script is from Vmwareadmins.com. Thank’s to the post “http://www.vmwareadmins.com/list-the-path-and-path-state-for-every-vsphere-datastore-using-powercli/“ I have tweaked the script with few lines,  to list the DataStore Name and Naaid info, so it would be nice to have all objects in single pane of view.  All credits to “Eric Sarakaitis“   Power CLI Script :– $initalTime = Get-Date $date = Get-Date ($initalTime)

Read More

Patch – Update vCenter Server Appliance 6.0 with External PSC’s – CLI

        The Process to patch vCenter Server Appliance’s is pretty straight forward and the below procedure shows the high level Steps involved using CLI to patch to 6.0U3a. For GUI, we can directly login to 5480 and use either check URL (Internet connectivity required, I would only recommended this for HomeLab) or

Read More

Custom SATP Claim Rule-Script for ESXi Host’s connecting to HPE 3PAR

Disclaimer:- The script below is from the Vmware community folks which is tweaked a little to suit my purpose, Also please test before running in production. Reboot is required to claim the LUN’s.  FYI:- In certain cases,  if the LUN is not RR already, running directly the Rule/script and rebooting the Host is not claiming the

Read More

Migration of ESXi Hosts with Running VM’s to New VCenter Server

Below procedure is a standard known procedure and can be scripted as well. The core sequence would be same but differs with the environment. Assumption: – Create of Folders and permissions on the folders already Completed. DRS-Rules if existed are copied/noted. Storage-IO settings/DRS clusters if existed noted. EVC settings verified Exported Existing DV switch to new

Read More