Tag Archives: Powershell

Avoiding System.Object[] (or Similar Output) when using Export-Csv

I’ve ran into this issue a number of times and have seen others as well when they attempt to pipe some data which may have a collection of items in one of its properties to a CSV file using Export-Csv. … Continue reading

Posted in powershell | Tagged , , , | 17 Comments

Winter Scripting Games 2014 Tip #2: Use #Requires to let PowerShell do the work for you

In Version 2 of PowerShell, you had the ability to use #Requires –Version 2.0 to ensure that your scripts/functions would only run at a specified PowerShell version to prevent folks running an older version from wondering why things weren’t working … Continue reading

Posted in powershell, V3, V4, Winter Scripting Games 2014 | Tagged , , , , , | 3 Comments

Winter Scripting Games 2014 Tip #1: Avoid the aliases

Having been a judge for the previous 2 Scripting Game competitions as well as competing in the 2 before that, I have seen my share of scripts submitted that didn’t quite meet the cut of what I felt were the … Continue reading

Posted in powershell, Winter Scripting Games 2014 | Tagged , , , | 5 Comments

Custom PowerShell Objects and Performance Revisited

Way back in my earlier days of blogging (Sept 2010), I wrote an article (I recommend you check this one out for more information regarded some of the older styles of custom object creation) that talked about the performance differences … Continue reading

Posted in powershell | Tagged , , | 4 Comments

A PowerShell Module for Managing Internet Explorer Favorites

As promised, here is my module that I put together to make managing Internet Explorer favorites. The module is called IEFavorites and has 3 functions available: Get-IEFavorite Add-IEFavorite Set-IEFavorite There are also 4 aliases associated with this module: gief (Get-IEFavorite) … Continue reading

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