From eec83c0dc0d2394055178c01687ab50f293c1917 Mon Sep 17 00:00:00 2001 From: Upgrayedd Date: Sat, 17 Aug 2024 21:55:56 -0500 Subject: [PATCH] Update setupMDT.ps1 finish the ISO import section --- setupMDT.ps1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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" + + + + + + + + +