From 8e36a7f1c12c90e4ae296867c3c22037d24470d8 Mon Sep 17 00:00:00 2001 From: Upgrayedd Date: Sat, 17 Aug 2024 22:55:36 -0500 Subject: [PATCH] Update setupMDT.ps1 start work on driver packs --- setupMDT.ps1 | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/setupMDT.ps1 b/setupMDT.ps1 index f581403..44864f1 100644 --- a/setupMDT.ps1 +++ b/setupMDT.ps1 @@ -38,10 +38,18 @@ import-mdtoperatingsystem -path "DS001:\Operating Systems\Windows10auto" -Source Dismount-DiskImage -ImagePath "\\SynCloud\Data\Resources\Win10_22H2_English_x64.iso" - - - - +#grab the driver pack +#https://www.dell.com/support/kbdoc/en-us/000109785/dell-command-deploy-driver-packs-for-optiplex-models +#for dell optiplex 3070 +New-Item -ItemType Directory -Force -Path \\SynCloud\Data\Resources\Dell\Driver\3070\ +Start-BitsTransfer "https://downloads.dell.com/FOLDER08644749M/1/3070-0DFFN_Win10_1.0_A09.exe" \\SynCloud\Data\Resources\Dell\Driver\3070\3070-0DFFN_Win10_1.0_A09.exe +cmd /c \\SynCloud\Data\Resources\Dell\Driver\3070\3070-0DFFN_Win10_1.0_A09.exe /s /e=\\SynCloud\Data\Resources\Dell\Driver\3070\ +#^that takes a while, consider doing it locally +#install the drivers to Out-of-Box DeploymentShare +new-item -path "DS001:\Out-of-Box Drivers" -enable "True" -Name "Optiplex3070" -Comments "Put em in a folder ya Dingus" -ItemType "folder" -Verbose +import-mdtdriver -path "DS001:\Out-of-Box Drivers\Optiplex3070" -SourcePath "\\SynCloud\Data\Resources\Dell\Driver\3070\3070" -ImportDuplicates -Verbose +#make the Task Sequence +import-mdttasksequence -path "DS001:\Task Sequences" -Name "Windows 10 Pro x64" -Template "Client.xml" -Comments "Here we go" -ID "Win10Pro" -Version "1.0" -OperatingSystemPath "DS001:\Operating Systems\Windows10\Windows 10 Pro in Windows 10 x64 install.wim" -FullName "MDT User" -OrgName "UG" -HomePage "about:blank" -Verbose