Category Archives: powershell

Updated Function: Get-SQLInstance

One function of mine that I use quite a bit to get information about SQL servers is Get-SQLInstance not only because it provides most of the information that I am looking for but it also is a great way to … Continue reading

Posted in powershell | Tagged , , , | 2 Comments

A Look at a RegExHelper Tool for PowerShell Regular Expressions

I don’t know about you, but writing a regular expression can sometimes be a lesson in patience when putting a pattern together to parse a log file or provide some sort of validation of input. Each time I need to … Continue reading

Posted in powershell | Tagged , , , | 1 Comment

Performing an Asynchronous DNS Lookup Using PowerShell

This is another asynchronous approach to a common thing that a system administrator might do, much like a previous article I did on doing a speedy ping with PowerShell and async methods. I’ve already covered performance as well as handling … Continue reading

Posted in powershell | Tagged , , | 3 Comments

Quick Hits: Create and Start a Stopwatch in One Line

Ok, so this is a pretty trivial thing but I happened to stumble across this while doing some work on figuring out a bottleneck in one of my scripts. Essentially, I set up a StopWatch to see how long it … Continue reading

Posted in powershell | Tagged , , | Leave a comment

Speedy Ping using PowerShell

For those that know me, you know how much I love runspaces and preach about their use for their quickness and being lightweight in PowerShell to accomplish your day to day activities where you need to run many things in … Continue reading

Posted in powershell | Tagged , , , | 2 Comments