Category Archives: Scripting

Create Win32_Process

When I first started with powershell, I converted some functions from a VBscript template I used into powershell code. One of those functions used WMI to create a process on a remote machine and then return the process ID that … Continue reading

Posted in Scripting | Leave a comment

Using vSphere Image Builder and Powerpath/VE

I typically use vSphere Image Builder to create custom ISO images that contain EMC PowerPath VE. The problem is, I need to add three packages in the correct order — and I never can remember the correct order. A few … Continue reading

Posted in Scripting, Virtualization | Leave a comment

VMworld 2012 – Powershell dinner

My favorite part of VMworld is the people you meet. Last week I was lucky enough to meet up with many powershell/PowerCLI experts and have some awesome discussions. I wasn’t able to get everyones name/card, but I believe the first … Continue reading

Posted in Scripting, Virtualization | 1 Comment

Powershell – Measure Historical Command

Have you ever been working in a Powershell console and have a command run longer than expected? Did you wish that you had wrapped that command in a Measure-Command so that you could view execution time? This has happened to … Continue reading

Posted in Scripting | Leave a comment

Improving performance with Get-MailboxFolderStatistics

In a previous post I mentioned some performance improvements I made in an Exchange script that used Get-MailboxFolderStatistics. A portion of this script selected the size (in megabytes) of the top 5 folders in each users mailbox. I made a … Continue reading

Posted in Messaging, Scripting | Leave a comment