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: $item = “” | Select Name, RAM, CPU $item.Name = “blah” $item.Ram = 4096 $item.Cpu = 1 $item In the above…

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 some Measure-Command information, but then I’d have to re-execute my…

GCVMUG PowerCLI 5.0 Lab

Earlier this month I had the privilege of helping out with a PowerCLI hands on lab at the Greater Cincinnati VMUG regional event. The content of this GCVMUG PowerCLI 5.0 lab is now available online: GCVMUG PowerCLI 5.0 Lab A special thanks goes to the GCVMUG, Jake Robinson, Ryan Birk,…

© 2026 Enterprise Admins.org. Design inspired by the Clarity Design System. Not affiliated with or endorsed by Broadcom or VMware.