0

我想要完成的是让 MDT 根据模型自动选择任务序列,如果没有匹配则运行通用部署。但它不会自动选择任务序列。任何想法,我怎样才能实现这个目标。谢谢

[Settings]
Priority=Models,Default
Properties=MyCustomProperty, ShortModel

[Default]
_SMSTSOrgName=myCompany
SkipAppsOnUpgrade=NO
UserDatalocation=AUTO
OSDComputerName=#Left("%Model%",4)#
DoCapture=NO
OSInstall=YES
SkipAdminPassword=YES
SkipBDDWelcome=YES
SkipBitLocker=YES
SkipCapture=YES
SkipComputerName=YES
SkipFinalSummary=YES
SkipLocaleSelection=YES
SkipProductKey=YES
SkipSummary=YES
SkipTaskSequence=NO
SkipComputerBackup=YES
SkipTimeZone=YES
SkipUserData=YES
TimeZone=035
TimeZoneName=Eastern Standard Time


[Models]
ShortModel=#Left("%Model%",4)#
Subsection=TS-%ShortModel%

[TS-20L8]
TaskSequenceID=TS-20L8
SkipApplications=YES


SkipTaskSequence=Yes

[TS-20QG]
TaskSequenceID=TS-20QG
SkipApplications=NO
4

1 回答 1

0

最后,经过数小时的搜索,我发现这种方法非常适用于戴尔和惠普系列,而对于联想,您必须对 ZtiGather 脚本进行一些更改才能获得正确的系统型号。

参考链接:[%make% 和 %model%][1]

[Settings]
Priority=make,Default

[Default]
_SMSTSOrgName=myCompany
SkipAppsOnUpgrade=NO
UserDatalocation=AUTO
DoCapture=NO
OSInstall=YES
SkipAdminPassword=YES
SkipBDDWelcome=YES
SkipBitLocker=YES
SkipCapture=YES
SkipComputerName=YES
SkipFinalSummary=YES
SkipLocaleSelection=YES
SkipProductKey=YES
SkipSummary=YES
SkipTaskSequence=NO
SkipComputerBackup=YES
SkipTimeZone=YES
SkipUserData=YES
TimeZone=035
TimeZoneName=Eastern Standard Time

[TS-20L8]
TaskSequenceID=TS-20L8
SkipApplications=YES

[TS-20QG]
TaskSequenceID=TS-20QG
SkipApplications=NO


  [1]: https://social.technet.microsoft.com/Forums/lync/en-US/20b88227-2bd6-4279-8752-58773274c6ce/make-and-model?forum=mdt
于 2021-08-20T20:13:58.377 回答