targetAddress (updated)

This is is quite a cool property of an object … The TargetAddress property specifies the delivery address to which e-mail for this recipient should be sent.

 So if you have played with the Quest Migration Tools you will know that this magic property is what they use to control where email is sent.  Anyway, I want to see how easy it is to update the propery on a user object, and it’s really simple with Powershell!

$user = [ADSI]LDAP://:389/
$user.targetAddress = SMTP:whatever@domain.com
$user.SetInfo()

thats its it .. how cool is that

UPDATE: Many thanks to Henrik Walther for picking up on my copy and paste mistake (wow I didn’t realise he read this blog .. cool).  Henrik also mentioned that this method isn’t supported by MS and that things such as a mailbox move wipes out the address

Hyper-V, SCVMM and Windows 2008

this is kinda interesting, migrated from a VmWare Server Proof of Concept to Hyper-V (by rebuild it from scratch).  As part of this we used System Centre Virtual Machine Manager (SCVMM) templates.

So everything is going fine, but since the tail end of last week strange things started to happen.  Nothing was logged in any event log, but it started with weird authentication issues and general strange behaviour of Windows 2008.

After using netmon and turning on debug logging for netlogon, it looked like kerberos problem, so Neil done some digging.  First he created a 64bit Windows 2008 server from media and it all worked okay.  So then Neil templated it, and built another server from the template and it had the same problems as before :-|  He tried a few more and they all had the old problems, whereas a clean media build worked?

Don’t ask me, dunno what the hell is going on with SCVMM but it looks like some kind of undocumented feature or a step that is required before you template.

So note to self, if your using SCVMM dont template Windows 2008, just build it from media