You need to store a collection of data of some sort, so you stuff it in an array, problem solved, right? But is an array the best solution for your script? And should you care? (more…)
Month: November 2015
Progress Bar and Seconds Remaining
In my last post about using progress bars in PowerShell, we went through the basic usage, as well as nesting of progress bars. There was however one parameter that I didn’t discuss, and that I seldom see used; the SecondsRemaining parameter. (more…)
Quick tip: Enums with FlagsAttribute
If you have worked with PowerShell for a while, chances are you are familiar with Enums. If you have also worked with more traditional programming languages you definitely are familiar with Enums!
Enums can have custom attributes, and one such attribute is the topic this quick tip; the FlagsAttribute! (more…)
Quick tip: Easy access to special symbols
In this quick tip, I’m going to show you a way to organize and quickly access special symbols in PowerShell. (more…)