Wednesday, May 21, 2008

EMS Goodies: Populating a Distribution Group from a File

Given a text file containing a list of samAccountName items, here is the command to stuff those accounts into a Distribution Group. It is assumed that the group has already been created and that the file is in the current directory.

cat ".\users_to_add_to_group.txt" | get-mailbox | Add-DistributionGroup Member -id "MyGroup"

Monday, May 19, 2008


Yesterday I purchased my first sailboat, a 40 year-old homebuilt 24' trimaran. It needs sanding and painting, but is structurally sound and has good sails. Unfortunately, my current vehicle is not beefy enough to tow the thing, mainly due to the weight of the massively over-engineered trailer. Fortunately, I'm currently shopping for a pickup, so I should soon be able to return to Victoria to retrieve my booty.