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 useful, I’ve added a line to my powershell profile that…

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…

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