Update setupMDT.ps1

task sequence and update share
This commit is contained in:
Upgrayedd 2024-08-17 23:07:04 -05:00
parent 2909428f19
commit 4704d008d5

View file

@ -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