Post info:

PowerCLI Script to Change Tag Assignment

I have an environment where, using tags, unused VMs are automatically shutdown. This is done by creating a Tag Category called “Suspend Date” and when the current value is in the past, your VM gets shutdown. I don’t have many VMs that I own in this “test” environment, but the ones that I DO have there, I want to be available when I need them. I TRY to login once every week or so and change the tag manually, but

Share This:

Read the full post

Post info:

Using vSphere Tags to Check for Pending Reboot State

You may have seen my blog post on the Test-PendingReboot PowerShell module.  I’ve been using it a lot lately and had the thought to use vSphere Tags to check pending reboot state.  In my environment, we normally check for pending reboot states before patching.  If a server is in a pending reboot state, it won’t receive the patches from SCCM, etc.  We have 3 different groups we deploy patches to.  Staging, Production, and Global (servers outside the US). First, I

Share This:

Read the full post