Update setupMDT.ps1
finish the ISO import section
This commit is contained in:
parent
04dcfb2452
commit
eec83c0dc0
14
setupMDT.ps1
14
setupMDT.ps1
|
@ -32,4 +32,16 @@ $Source = $Drive.DriveLetter+":\"
|
|||
|
||||
#import OS
|
||||
Import-Module "C:\Program Files\Microsoft Deployment Toolkit\bin\MicrosoftDeploymentToolkit.psd1"
|
||||
import-mdtoperatingsystem -path "DS001:\Operating Systems\Windows10auto" -SourcePath $Source -DestinationFolder "Windows 10 x64 auto" -Verbose
|
||||
import-mdtoperatingsystem -path "DS001:\Operating Systems\Windows10auto" -SourcePath $Source -DestinationFolder "Windows 10 x64 auto" -Verbose
|
||||
|
||||
#unmount the ISO
|
||||
Dismount-DiskImage -ImagePath "\\SynCloud\Data\Resources\Win10_22H2_English_x64.iso"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue