My notes and ramblings, normally about automation.
Connect with me:
PowerCLI
PowerCLI - Quick Stats Not Up To Date ErrorRecently rebooted one of my vCenters and came across an error on my ESXi hosts stating “Quick stats on *vmhost* is not up-to-date”. A couple seconds worth of googling brought me to VMware KB2061008 which helped to resolve the issue.Nov 9, 2015
-
1 min read
PowerCLI 6.0 R2 - Announcing vROps IntegrationFor those that have been requesting some vCOps and/or vROps integration into PowerCLI, as I have been, we finally have our solution! PowerCLI 6.0 R2 brings that to the table in the form of a new module:VMware.Sep 15, 2015
-
3 min read
PowerCLI - View - Pool Health Check ReportI’ve been given the chance to work with View a little more here recently and focus in on some of the gaps that are missing, specifically around reporting and alerting. vC Ops and the View adapter are in use, however the alerts leave much to be desired.Dec 29, 2014
-
2 min read
PowerCLI - Automate the vROps OVA DeploymentFor those that haven’t heard, vCenter Operations (known better as vC Ops) has been not only updated but renamed. It’s new name is vRealize Operations (or, probably, vR Ops) and it is officially version 6.Dec 19, 2014
-
2 min read
PowerCLI - Gathering VMHost NIC Driver & Firmware InfoThere’s nothing worse than having inconsistencies in a VMware cluster. This includes patch level, driver level and definitely firmware levels. In this particular case, the focus is on the physical network adapters.Nov 3, 2014
-
1 min read
PowerCLI - Process of Adding Notes to VMsDocumentation is a good thing. No matter how big or small. One of the easiest methods of documentation is to use the built in annotation section for “Notes”.
What I’ve come up with is a fairly basic script to go through all the VM objects that do not contain notes and allow the user to insert notes on a line by line basis.Sep 9, 2014
-
1 min read
PowerCLI - Removing and Re-creating Unknown and/or Orphaned VMsRan into an issue lately where I found a host had lost its storage. For whatever reason HA didn’t kick in to bring all the VMs back to life and there was a need to recreate ~75 VMs whom were in an unknown and/or orphaned state.Jul 14, 2014
-
1 min read
PowerCLI – One Liner – Finding Duplicate VMkernel IPsEver had issues with a host randomly disconnecting? vMotions randomly failing? iSCSI paths dropping? If so, there’s a chance you’re having issues with a duplicate IP on one of your VMkernel ports.May 2, 2014
-
1 min read
PowerCLI - Get-View View TypesUnfortunately, I don’t make use of the Get-View .NET cmdlet as often as I should. It’s a little more complicated than the rest of the PowerCLI cmdlets and a little harder to memorize but the speed is well worth the time and effort.May 1, 2014
-
1 min read
PowerCLI - Reset NTP settings on VMHosts per ClusterAs daylight savings time is almost upon us, there are always questions revolving around what hosts use what NTP sources for time synchronization. To address this issue, I created a script to go through and remove the current NTP sources, add the desired NTP sources and then restart the NTP service on all of the hosts in the environment.Oct 29, 2013
-
2 min read