diff --git a/setupMDT.ps1 b/setupMDT.ps1 index 6147590..f581403 100644 --- a/setupMDT.ps1 +++ b/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 \ No newline at end of file +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" + + + + + + + + +