Ben's Blog

Posts labelled 🏷️ powershell

  1. Cleaning up VM template names

    🏷️ vmware-vsphere, powershell

    I wrote this today to remove occurrences of the string "Tmpl" anywhere in the name of the template, and then to re-name the template with "Tmpl" as a prefix. It had a higher purpose than keeping everything nice and neat, but it's rather specific to our environment so I won't…

  2. Virtual machine BSoD detector

    🏷️ vmware-vsphere, powershell

    Carter Shanklin has used Microsoft Office Document Imaging Library (MODI) to improve Eric Sloof's script to detect Blue Screens of Death (BSoDs); it now captures the errors and converts them to text.

  3. Find vSphere templates with non-persistent disks

    🏷️ vmware-vsphere, powershell

    As we're running a development lab, we use a lot of templates for machine deployment and a lot of non-persistent disks to allow machines to be easily restored to a clean-state. We've had issues where machines with non-persistent disks were converted to templates. In this case…