Exporting ESX/ESXi Host Information to Excel

hostinfoFor those of us who do not jump around from environment to environment often forget how lucky we are to know the details of our servers intimately. Over time you come to know what to expect and when something is just not right.

Continue reading

Advertisements

My Veeam Report v1.2

VeeamReport-v1_2Find the latest version here.

My Veeam Report v1.2 has arrived! With it comes a couple of minor tweaks and the addition of successfully backed up VMs. For those backing up hundreds (or thousands) of VMs, this option can be disabled within the User Variables section. In smaller scenarios it’s nice to see at a glance which VMs got backed up last night.

This will most likely be the last update prior to Veeam rolling out v8.  We’ll have to wait and see if any changes are needed for it to continue to work properly.

Continue reading

Expanding the Home Lab – Network

homelab-networkHere we are again with another installment of the Home Lab series, this time with an upgrade to the network. My basic setup can be found here with an additional post covering storage found here. With storage now covered it was time to set my sights on a network upgrade. For years I have used nothing but off-the-shelf unmanaged switches but it was time to step up to something that could handle LAGs and VLANs so I could experiment and learn in the comforts of home. Without these two key elements it is tough to reproduce a production environment and equally as difficult to learn the most of what vSphere has to offer.

Continue reading

Advancing the Function

AdvFunctionRecently I had to grab some general info on a group of VMs in a particular folder within vSphere.  Typical stuff like, Guest OS, # vCPUs, RAM, Disk, etc. I looked around my scripts folder as I was sure I had written a small script to accomplish this task previously but came up empty. No problem, I’ll just whip something up I thought. Then my mind starts racing, will the script output to csv? html? Excel? Word? I could include all options (and code) and let the user choose? What parameters will I need and how will I validate them? This script was getting cumbersome already and I hadn’t even thought about the simple info I needed to query. Then it dawned on me…all I needed was the data. I decided to strip the function down to simply gathering the information I needed. If I wrote a proper advanced function, then I could just return the gathered objects down the pipeline and from there format the output as needed.

Simply put, an advanced function acts very much like a standard cmdlet.

Continue reading