Snippets

Michael SanAngelo MDT Config

Created by Michael SanAngelo
[Settings]
Priority=StdSerial, ByLaptop, ByDesktop, ByVM, VMPlatform, Default
Properties=Vlabs

[StdSerial]
ComputerSerialNumber=#Left("%SerialNumber%",7)#

[ByLaptop]
subsection=Laptop-%IsLaptop%

[ByDesktop]
subsection=Desktop-%IsDesktop%

[ByVM]
subsection=VM-%IsVM%

[Desktop-True]
OSDComputerName=DESKTOP-#Right(Replace(Replace(oEnvironment.Item("SerialNumber")," ",""),"-",""),8)#

[Laptop-True]
OSDComputerName=LAPTOP-#Right(Replace(Replace(oEnvironment.Item("SerialNumber")," ",""),"-",""),8)#

[VM-True]
OSDComputerName=VM-#Right(Replace(Replace(oEnvironment.Item("UUID")," ",""),"-",""),8)#

[VMware]
DeploymentType=NEWCOMPUTER
SkipUserData=YES
JoinDomain=domain.com
SkipFinalSummary=YES
FinishAction:Logoff

[VirtualBox]
DeploymentType=NEWCOMPUTER
SkipUserData=YES
JoinDomain=domain.com

[Default]
OSInstall=Y
SkipCapture=NO
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipLocaleSelection=YES
SkipTimeZone=Yes
UserLocale=en-us
SystemLocal=en-us
InputLocale=en-us
TimeZoneName=Central Standard Time
EventService=http://dcsrv:9800

#:Set ComputerName
#OSDNEWMACHINENAME=%ComputerType%-%SerialNumber%

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.