Lab Test Users

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.

PowerShell neat function tricks for free

Finished going through a recent NA TechEd2012 video Turn PowerShell Commands into Reusable CLI and GUI Tools by Don Jones.
Some of the advice I sort of knew and and followed.

Using PowerShell to add numbers in a text file

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.

Family Support Plan Rules

Updated since the Windows 10 launch

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.

Pages

Subscribe to Black Mountain RSS