Author Archives: brian.wuchner

Multiple vCenters and MAC address conflicts

VMware KB article 1024025 explains an issue with MAC address conflicts due to multiple vCenter configurations with the same instance ID. Here is a technical description straight from the KB article: Each vCenter Server system has a vCenter Server instance … Continue reading

Posted in Scripting, Virtualization | 2 Comments

Powershell title bar and profile

This is a very simple post, but it shows how to make the Powershell title bar contain useful information. By default the Powershell title contains the path to the powershell.exe file — here is an example: To make this more … Continue reading

Posted in Scripting | Leave a comment

Simple examples of Powershell PSCustomObject

In most of my Powershell scripts I make use of the PSCustomObject to store results. The example I first learned (and use all the time) looks just like this: [cc lang=”Powershell”] $item = “” | Select Name, RAM, CPU $item.Name … Continue reading

Posted in Scripting | Leave a comment

Working with the lastLogon attribute in PowerShell

I have been spending a lot of time working on Powershell scripts. Specifically, I have been re-writing many VB scripts and processes into more efficient powershell versions. In my last post I mentioned that I planed to share how I … Continue reading

Posted in Messaging, Scripting | 2 Comments

T-SQL to show how long a task took to execute

I have been working on various scripts that populate information into a SQL table. The other day I was attempting to see how long some of these tables took to populate. I could have updated the PowerShell script to include … Continue reading

Posted in Scripting | Leave a comment