Use Hash Tables To Go Faster Than PowerShell Compare-Object

Compare-Object gotcha down? Slower than my old 300 baud modem? Have no fear. Today we go faster using hash tables. Let me state first that I love the cmdlet Compare-Object, and I have used it many times with great results. But at scale my customer had some serious performance issues. The Problem – “I feel…

4

Slow Code: Top 5 Ways to Make Your PowerShell Scripts Run Faster

Slow code? Are you frustrated by slow PowerShell scripts? Is it impacting business processes? Need help tuning your scripts? Today’s post is for you. Can you identify with any of these customer slow PowerShell stories? Case #1 Customer is scanning Active Directory Domain Controllers in multiple domains and forests scattered all over the state on…

8