Category: General


Now you can watch me get drunk and curse at my computer!

We are a Microsoft partner and have been standing up a lot of clients on Office 365, the management of which requires a lot of PowerShell use to administer properly. My last boss told me that Microsoft’s move away from the GUI toward PS scripting is what is going to ‘separate the men from the boys’, and I’ve taken this to heart, trying to script out everything as much as possible. Server 2012 has really made improvements over 2008 as far as this goes, and Exchange Online and Office 365 (AKA Microsoft Online Services) are strongly there as well. Sure, there are web interfaces for them, but Microsoft seems to have a habit of changing the navigation and language every few weeks and the GUI has been inconsistent between the business and enterprise plans as well, so the Powershell commands seem be the way to go.

For this most recent job, we had a client who wanted to change domain names, so we stood up the new domain on O365 and configured client workstations for the new accounts. Once that was done we verified the old domain with Microsoft in anticipation of routing the old domain to the new mailboxes. Rather than manually add each additional SMTP address for each user account, I used the following script. Make sure you connect to Exchange Online using remote PowerShell first.

$users = get-user * #Filter your OU appropriately, this was a blanket change for a flat hierarchy.
foreach ($user in $users)
$mailbox = get-mailbox $user.identity
$newmailbox = $ + ""
set-mailbox -identity $user.identity -EmailAddresses @{Add=$newmailbox}

You can then verify that the changes went correctly with the following:

foreach ($user in $users) {
$mailbox = get-mailbox $user.identity
write-host  $addresses

It’s been too long. It feels like 2 years have gone by since daHIFI was back under our control, not held some cybersquatting domain thieves. We can understand the business plan: Snatch up recently lapsed domains, wait for their owners to come back looking for them and then charge exorbitant rates to release them back. Sorry fuckers, but we don’t play that game. We did learn our lesson however. Never deal with Network Solutions or We’re letting our web host handle the details from here on out and hopefully this won’t happen again.

Anyways, here we are again. It’s been too long since I’ve had a proper home on the web. I’ve been doing my thing with for the past year and change to pass the time, but that site is more for the Hampton Roads music, not my own personal ramblings. It’s good to be home. I’m not going to bother with the archives, they seemed so dated last time I browsed through them, half of the links broken and half of the political venom long since dissipated due to the passage of time. No, we’ll just start anew, fresh from scratch. Just a post when we feel like it, hopefully stretch those creative muscles that have seen better days.

It’s fitting that today’s the first of June, Memorial Day a dozen minutes behind me. My birthday is less than a week away, my 31st. I’ve got a lot to do this next week, hopefully I’ll be starting a new job, and there’s plenty to get done between school, house projects and music. I just hope I can squeeze some more time out of the day to attend to this site. I think I can manage.

That’s enough for now, there’s some things I need to do before I sleep and I think it best if I let my subconscious take control for a few hours before I do anything else here. Ta-ta for now,

welcome back.