Monthly Archives: October 2014

Looking More at System.Array With PowerShell

I had written about why you shouldn’t use System.Array and instead should use System.Collections.ArrayList and went over the performance gains regarding this. I had mentioned that each time you add something to the System.Array, that it rebuilt itself while adding … Continue reading

Posted in powershell | Tagged , , , | 3 Comments

Using a ScriptBlock Parameter With a PowerShell Function

You may have noticed in some cmdlets that you can apply a scriptblock to certain parameters and have the scriptblock run during the code execution of the cmdlet. Take Sort-Object for example. I can use a scriptblock to perform a … Continue reading

Posted in powershell | Tagged , , | 11 Comments

Guest Spot on Hey, Scripting Guy! On Making The Console Glassy

I did a spot on Hey, Scripting Guy! today talking about using reflection to hook into the Win32 API and give your PowerShell console a more glassy look. Click on the link below to check it out! http://blogs.technet.com/b/heyscriptingguy/archive/2014/10/05/weekend-scripter-give-your-powershell-console-a-glassy-theme.aspx I also … Continue reading

Posted in News, powershell | Tagged , , , , | Leave a comment

Re-Awarded Windows PowerShell MVP – 2014

While home for lunch, I received an awesome email: I am very grateful and honored to have received this award for a second year. This is something that I never expect to get, but am always thankful for receiving. I … Continue reading

Posted in News, powershell | Tagged , , | 3 Comments