feat: Update TS Install DCU for Dell Inc. & Update Join Domain 3e octets

This commit is contained in:
2026-06-10 19:42:26 +02:00
parent ef7128111a
commit 50558560af
24 changed files with 484 additions and 264 deletions
+86 -68
View File
@@ -657,20 +657,6 @@
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"</action>
</step>
<step type="SMS_TaskSequence_SetVariableAction" name="OSDAdapter0Name" description="LAN_Peda" disable="true" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="VariableName" property="VariableName">OSDAdapter0Name</variable>
<variable name="VariableValue" property="VariableValue">LAN_Peda</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"</action>
</step>
<step type="SMS_TaskSequence_SetVariableAction" name="OSDAdapter1Name" description="LAN_Peda" disable="true" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="VariableName" property="VariableName">OSDAdapter1Name</variable>
<variable name="VariableValue" property="VariableValue">LAN_Peda</variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTISetVariable.wsf"</action>
</step>
<step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="New Name NIC" description="" disable="false" continueOnError="true" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="OSDAdapterCount" property="NumAdapters">1</variable>
@@ -744,14 +730,14 @@
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<group expand="true" name="Dell Pro Slim QSC1250" description="Collège Baudelaire Dotation Mai 2026" disable="false" continueOnError="false">
<group expand="true" name="Dell Pro Slim QCS1250" description="Collège Baudelaire Dotation Mai 2026" disable="false" continueOnError="false">
<action />
<condition>
<operator type="and">
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">%model%</variable>
<variable name="Variable">Make</variable>
<variable name="Operator">equals</variable>
<variable name="Value">Dell Pro Slim QSC1250</variable>
<variable name="Value">Dell Inc.</variable>
</expression>
</operator>
</condition>
@@ -763,54 +749,86 @@
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU /scan" description="On scan les péripériques avant de mettre à jour" disable="false" continueOnError="false" startIn="%ProgramFiles(x86)%\Dell\CommandUpdate\" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>%ProgramFiles(x86)%\Dell\CommandUpdate\dcu-cli.exe /scan</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU /applyUpdates" description="On installe les drivers" disable="false" continueOnError="false" startIn="%ProgramFiles(x86)%\Dell\CommandUpdate\" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>%ProgramFiles(x86)%\Dell\CommandUpdate\dcu-cli.exe /applyUpdates -reboot=disable -autoSuspendBitLocker=enable</action>
</step>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="SMSRebootMessage" property="Message"></variable>
<variable name="SMSRebootTimeout" property="MessageTimeout">60</variable>
<variable name="SMSRebootTarget" property="Target"></variable>
</defaultVarList>
<action>smsboot.exe /target:WinPE</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU /scan" description="On scan à nouveau" disable="false" continueOnError="false" startIn="%ProgramFiles(x86)%\Dell\CommandUpdate\" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>%ProgramFiles(x86)%\Dell\CommandUpdate\dcu-cli.exe /scan</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU /applyUpdates" description="On installe les derniers drivers disponibles" disable="false" continueOnError="false" startIn="%ProgramFiles(x86)%\Dell\CommandUpdate\" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>%ProgramFiles(x86)%\Dell\CommandUpdate\dcu-cli.exe /applyUpdates</action>
</step>
<group expand="true" name="BIOS and Firmware" description="" disable="false" continueOnError="false">
<action />
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU Scan for BIOS and Firmware Updates" description="On scan les péripériques avant de mettre à jour" disable="false" continueOnError="false" startIn="" successCodeList="0 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID"></variable>
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=bios,firmware</action>
</step>
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU Install BIOS and Firmware Updates" description="On installe les drivers" disable="false" continueOnError="true" startIn="" successCodeList="0 1 500 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=disable -autoSuspendBitLocker=enable</action>
</step>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="SMSRebootMessage" property="Message"></variable>
<variable name="SMSRebootTimeout" property="MessageTimeout">60</variable>
<variable name="SMSRebootTarget" property="Target"></variable>
</defaultVarList>
<action>smsboot.exe /target:WinPE</action>
</step>
<condition>
<operator type="and">
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">_SMSTSLastActionRetCode</variable>
<variable name="Operator">notEquals</variable>
<variable name="Value">500</variable>
</expression>
</operator>
</condition>
</group>
<group expand="true" name="Drivers and Applications" description="" disable="false" continueOnError="false">
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU Scan for Driver and Application Updates" description="On scan à nouveau" disable="false" continueOnError="false" startIn="" successCodeList="0 1 500 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=driver,application</action>
</step>
<action />
<step type="SMS_TaskSequence_RunCommandLineAction" name="DCU Install Driver and Application Updates" description="On installe les derniers drivers disponibles" disable="false" continueOnError="true" startIn="" successCodeList="0 1 500 3010" runIn="WinPEandFullOS">
<defaultVarList>
<variable name="PackageID" property="PackageID" />
<variable name="RunAsUser" property="RunAsUser">false</variable>
<variable name="SMSTSRunCommandLineUserName" property="SMSTSRunCommandLineUserName"></variable>
<variable name="SMSTSRunCommandLineUserPassword" property="SMSTSRunCommandLineUserPassword"></variable>
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
<action>cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=disable -updateType=driver,application</action>
</step>
<step type="SMS_TaskSequence_RebootAction" name="Restart computer" description="" disable="false" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
<variable name="SMSRebootMessage" property="Message"></variable>
<variable name="SMSRebootTimeout" property="MessageTimeout">60</variable>
<variable name="SMSRebootTarget" property="Target"></variable>
</defaultVarList>
<action>smsboot.exe /target:WinPE</action>
</step>
<condition>
<operator type="and">
<expression type="SMS_TaskSequence_VariableConditionExpression">
<variable name="Variable">_SMSTSLastActionRetCode</variable>
<variable name="Operator">notEquals</variable>
<variable name="Value">500</variable>
</expression>
</operator>
</condition>
</group>
</group>
<step type="BDD_RecoverDomainJoin" name="Recover From Domain " description="" disable="true" continueOnError="false" runIn="WinPEandFullOS" successCodeList="0 3010">
<defaultVarList>
@@ -854,8 +872,8 @@
</step>
<step type="BDD_RunPowerShellAction" name="Install Winget + Logiciels de base" description="7-Zip 26.01&#xD;&#xA;Audacity 3.7.7&#xD;&#xA;Google Chrome 149.0.7827.54&#xD;&#xA;LibreOffice 26.2.3.2&#xD;&#xA;Microsoft Edge 148.0.3967.96&#xD;&#xA;Notepad++ 8.9.6.4&#xD;&#xA;Python 3.14.5&#xD;&#xA;SumatraPDF 3.6.1&#xD;&#xA;VLC media player 3.0.23&#xD;&#xA;Xmind 26.3.4129&#xD;&#xA;Dépendances présentes&#xD;&#xA;Microsoft Visual C++ 2015-2022 Redistributable (x64) 14.51.36231.0" disable="false" continueOnError="true" successCodeList="0 3010">
<defaultVarList>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\SupportHDF\ps1\Prepare-Winget.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%\SupportHDF\ps1\</variable>
<variable name="ScriptName" property="ScriptName">%SCRIPTROOT%\WingetRepo$\Prepare-Winget.ps1</variable>
<variable name="Parameters" property="Parameters">-path %SCRIPTROOT%WingetRepo$\</variable>
<variable name="PackageID" property="PackageID"></variable>
</defaultVarList>
<action>cscript.exe "%SCRIPTROOT%\ZTIPowerShell.wsf</action>
@@ -946,7 +964,7 @@
<variable name="LoadProfile" property="LoadProfile">false</variable>
</defaultVarList>
</step>
<step name="Apply Local GPO Package" description="" disable="false" continueOnError="false" startIn="" successCodeList="0 3010">
<step name="Apply Local GPO Package" description="" disable="true" continueOnError="false" startIn="" successCodeList="0 3010">
<action>cscript.exe "%SCRIPTROOT%\ZTIApplyGPOPack.wsf"</action>
<condition>
<expression type="SMS_TaskSequence_VariableConditionExpression">