In PowerShell and many languages, an array is a set of items all represented by a single variable. To explain arrays and how to manage them in PowerShell, let's start with the example of a set of ...
I'm trying to pull SIDs and usernames from the registry on a windows box for use later in a script, so I wrote a bit of powershell to pull those out, trim off the crap and feed them into an array. The ...