News

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.
let's say I have a powershell function that takes a number of string parameters and combine them into a directory path, what's the best way to ensure each individual variable ends with an ...