Your basic ITPro blog... What's going on at work, what I'm interested in.

Wednesday, November 10, 2010

P2V’d My Laptop

So, I am finally moving from XP to Win7 on my work machine. I had wanted to wait until getting a new laptop, as my current machine is almost 4 years old and only 32bit. But, the time has come to bite the bullet.

Now, the thought of just wiping my laptop and re-installing makes me ill. I mean, I have a lot installed and everything has a custom configuration. What I really want is to be able to run two machines, side by side, during my transition. That way, I can check settings, etc.

Hyper-V and VMM to the rescue!

I started a P2V operation in VMM last night before heading home. When I got in this morning, the job was complete.

Everything looks great and the VM is working perfectly. The only hiccup was that Windows had to be re-activated. Other than that, everything is working as expected.

Now it’s time to wipe the HD on that laptop and start the Win7 install.

Fun stuff!

Monday, November 8, 2010

Big Project: AD Upgrade via Migration and Domain Rename

So, we are in the middle of our first REALLY BIG project in a while. We are moving from our current Windows 2003 domain to a new Windows 2008 R2 domain. Included in this move is a domain rename. Whew!

We got two new servers to be our Win2008 DCs. They are all configured with the new domain and we are now running test migrations using ADMT 3.2.

We are using BriComp Computers, LLC as a consultant on this project that they have been great! Brian Ricks knows his stuff, has been helpful, available, and flexible with us. I am very excited to have him as part of our team for this (and likely future) projects.

I know the actual migration of our AD resources is going to be a big part of this, probably with hiccups along the way. But, I am excited about this and confident that we will squash any bugs that come along.

Thursday, November 4, 2010

E-mail Recipient Policy Changes In Bulk With Powershell

We are changing our Internet domain that we are using for email, web, etc. Part of this is setting up our exchange accounts to process the new SMTP addresses.

I’m not going to go into the detail of how to roll out new SMTP addresses to all of your accounts.What I wanted to share was a Powershell one-liner that I ended up using to find accounts that were not configured to accept automatic updates to their SMTP addresses.

In ADUC, open up Properties on an account and check the ‘E-mail Addresses’ tab. At the bottom is a check-box labeled “Automatically update e-mail addresses based on recipient policy”. If this checkbox is UNchecked, then policy updates are blocked.

For some reason, some of our accounts had this unchecked (most were checked). So, I wanted a way to find these AD objects and CHECK that box, without having to actually open properties on every object in AD.

Enter Powershell (with the Quest AD Cmdlets, of course)!

The magic one-liner is: 

get-qaduser -IncludedProperties msExchPoliciesExcluded | where {$_.msExchPoliciesExcluded -ne $null} | foreach-object {set-qaduser $_ -ObjectAttributes @{msExchPoliciesExcluded=''} -whatif}

The ‘-whatif’ at the end just tells the command to do a test run. Remove the –whatif to actually make the change (check the checkbox).

I ran the one-liner a second time (minus the ‘foreach-object’ block), changing ‘get-qaduser’ at the beginning to ‘get-qadgroup’ to see if I had any mail-enabled groups that needed to be updated also. I didn’t. If you do, just change ‘qaduser’ to ‘qadgroup’ as needed.

Thanks To:

Additional Info

My photo
email: support (AT) mangrumtech (DOT) com
mobile: 480-270-4332