diff --git a/projects/MDT/Control/DEPL-W11-25H2-00/ts.xml b/projects/MDT/Control/DEPL-W11-25H2-00/ts.xml index eeb7b12..7a08cc7 100644 --- a/projects/MDT/Control/DEPL-W11-25H2-00/ts.xml +++ b/projects/MDT/Control/DEPL-W11-25H2-00/ts.xml @@ -751,7 +751,7 @@ - + false @@ -759,9 +759,37 @@ false - cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=bios,firmware + cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=bios - + + + + false + + + false + + cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /applyUpdates -reboot=disable -autoSuspendBitLocker=enable + + + + + 60 + + + smsboot.exe /target:WinPE + + + + + false + + + false + + cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=firmware + + false @@ -790,7 +818,7 @@ - + false @@ -798,10 +826,10 @@ false - cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=driver,application + cmd /c "C:\Program Files (x86)\Dell\CommandUpdate\dcu-cli.exe" /scan -updateType=driver - + false diff --git a/projects/MDT/Scripts/SupportHDF/ps1/Join-Domain.ps1 b/projects/MDT/Scripts/SupportHDF/ps1/Join-Domain.ps1 index aec3671..434d673 100644 --- a/projects/MDT/Scripts/SupportHDF/ps1/Join-Domain.ps1 +++ b/projects/MDT/Scripts/SupportHDF/ps1/Join-Domain.ps1 @@ -365,17 +365,18 @@ foreach ($addr in $netConfigs) { try { Write-LogMessage "Jointure du domaine EDU.HDF avec l'OU $Ou_site..." -Type "INFO" Add-Computer -DomainName "edu.hdf" -Credential $cred_edu -OUPath $Ou -Force -ErrorAction Stop - Write-LogMessage "SUCCESS : La machine a ete correctement ajoutee au domaine EDU.HDF !" -Type "INFO" + Write-LogMessage "SUCCESS : La machine '$hostname' a ete correctement ajoutee au domaine EDU.HDF !" -Type "INFO" Write-LogMessage "Serveur DC : $dc" -Type "INFO" Write-LogMessage "Site : $Site" -Type "INFO" Write-LogMessage "OU : $Ou" -Type "INFO" $joined = $true break } catch { - Write-LogMessage "ERREUR lors de l'ajout au domaine (interface IP: $ipv4) : $_" -Type "ERROR" + Write-LogMessage "ERREUR lors de l'ajout au domaine pour '$hostname' : $_" -Type "ERROR" } } else { - Write-LogMessage "Machine est deja membre du domaine EDU.HDF." -Type "INFO" + Write-LogMessage "Machine '$hostname' est deja membre du domaine EDU.HDF." -Type "INFO" + Write-LogMessage "Aucune action requise." -Type "INFO" $joined = $true break } diff --git a/projects/MDT/Scripts/SupportHDF/ps1/install_choco_bureautique.ps1 b/projects/MDT/Scripts/SupportHDF/ps1/install_choco_bureautique.ps1 index d351b23..900d3d0 100644 --- a/projects/MDT/Scripts/SupportHDF/ps1/install_choco_bureautique.ps1 +++ b/projects/MDT/Scripts/SupportHDF/ps1/install_choco_bureautique.ps1 @@ -105,7 +105,8 @@ if (!(Get-Command choco -ErrorAction SilentlyContinue)) { ) ) - refreshenv + # Rafraîchir les variables d'environnement sans dépendre de Chocolatey + $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") } else { diff --git a/projects/MDT/Scripts/SupportHDF/ps1/install_choco_dellcommandupdate.ps1 b/projects/MDT/Scripts/SupportHDF/ps1/install_choco_dellcommandupdate.ps1 index c39fb7c..df3607d 100644 --- a/projects/MDT/Scripts/SupportHDF/ps1/install_choco_dellcommandupdate.ps1 +++ b/projects/MDT/Scripts/SupportHDF/ps1/install_choco_dellcommandupdate.ps1 @@ -92,7 +92,8 @@ if (!(Get-Command choco -ErrorAction SilentlyContinue)) { ) ) - refreshenv + # Rafraîchir les variables d'environnement sans dépendre de Chocolatey + $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") } else {