Personal blog with a mix of interests and some migrated content from my old site. The current plan is a mix of posts on PowerShell, System Center Operations Manager, Windows IoT, and some wood working related stuff.
Setting up a test domain often requires some users. Since I am seeing a need to set up a test environment a few different times I figured I'd spend the time to automate it. I looked around for some names lists and figured I would just raid character names from the works of Jane Austin, it gives me some variety.
I just set the user password to the same thing and this script is set to read from user.txt in the same directory and enable the accounts.
Recently had a conversation where someone needed help adding up the last column in a tab separated text file. It looked like a calling plan report. In channel tons of people brought up all sorts of *nix based tools which I thought odd since it was a Windows based IRC channel.
I've occasionally had a need for something like this anyway so poked at it for a few minutes and came up with the below one liner which I will leave here so my bad memory can find it again.
Like anyone who works with computers and has friends and family I get asked to do friends and family support. One thing I've learned is that even this type of support needs rules or you end up spending way too much time that isn't valued. I like my friends and family but not enough to support any of their bad habits at my expense (time). By establishing some basic rules, people pay attention. Here are my rules.