Working at a customer (you know who you are) I asked
– How do you update all PXE\WDS servers around the globe?
– We logon and update them
– Would you like to have script that does that?
– Yes
So, here it is:
$Servers = "server1","Server2","Server3","Server4" Foreach($Server in $Servers){ wdsutil.exe /Verbose /Progress /Replace-Image /Image:"Lite Touch Windows PE (x86)" /Server:$Server /ImageType:Boot /Architecture:x86 /ReplacementImage /ImageFile:"D:\MDTProduction\Boot\LiteTouchPE_x86.wim" wdsutil.exe /Verbose /Progress /Replace-Image /Image:"Lite Touch Windows PE (x64)" /Server:$Server /ImageType:Boot /Architecture:x64 /ReplacementImage /ImageFile:"D:\MDTProduction\Boot\LiteTouchPE_x64.wim" }
/mike
Categories: MDT, OS Deployment, OSD