News

Strings are a very common thing to see and use in PowerShell. Parameters may take strings and a lot of times the objects that are outputted by various commands have strings as their properties. In ...
Have you ever noticed that if you include a variable within a PowerShell Write-Host statement, that variable is evaluated, even if you include the reference to the variable within the quotation marks?
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 ...