From 4704d008d52983b923d123f3469675fc36bb899b Mon Sep 17 00:00:00 2001 From: Upgrayedd Date: Sat, 17 Aug 2024 23:07:04 -0500 Subject: [PATCH] Update setupMDT.ps1 task sequence and update share --- setupMDT.ps1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setupMDT.ps1 b/setupMDT.ps1 index 44864f1..4667ca4 100644 --- a/setupMDT.ps1 +++ b/setupMDT.ps1 @@ -37,7 +37,6 @@ import-mdtoperatingsystem -path "DS001:\Operating Systems\Windows10auto" -Source #unmount the ISO 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 @@ -48,8 +47,10 @@ cmd /c \\SynCloud\Data\Resources\Dell\Driver\3070\3070-0DFFN_Win10_1.0_A09.exe / #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 - - +#Go do the INI updates manually (sad) +#Update the deployment share +update-MDTDeploymentShare -path "DS001:" -Verbose