Dual boot iMac update - Windows stuff
Got a Vista image finished. It's 4.7GB compared to 1.7GB for XP. To be fair I haven't done any where near the optimization on Vista that I have on XP. Still, whoa!
Vista seems happy to take a logoff script like this: shutdown /r/ t 0 meaning that I won't need psshutdown if we go Vista.
What I will eventually need is a script that will collect the hostname and the primary dns suffix of the machine (which will hopefully be something I can set to be a combination of static DHCP and fixed hostname tied to a MAC address). I can harvest these two items by running these commands:
ipconfig /all|find "Name"
and
ipconfig /all|find "Dns"
Unsophisticated, to be sure, but I might be able to combine that with a script I got from the CALL to have the Windows side automatically add itself to the domain when it boots up after a rebuild.
Once I get the commands sorted I might ask Martin to write a little CLI app that'll do all of this in one go.