Powershell and String Searches
I read somewhere that Powershell was built for reliability, not for performance and that’s really true. I ran into this a lot on the DFS Monitor project, where running queries against 40,000 records in memory were taking 1.2 seconds or so. But there are a few things we can do to improve performance if needed. The simple fact is most chores you’ll be doing with Powershell will not run against these performance limitations and you’ll be more then happy with your scripts.
But an interesting thread on Spiceworks came up and really gave me the opportunity to test some things, and I thought I’d talk about it here.