From bf38c8b77c7c458f778a18ae967689fed2853de7 Mon Sep 17 00:00:00 2001 From: Upgrayedd Date: Sun, 18 Aug 2024 00:38:25 -0500 Subject: [PATCH] Update setupMDT.ps1 add virtio --- setupMDT.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setupMDT.ps1 b/setupMDT.ps1 index e447668..d045341 100644 --- a/setupMDT.ps1 +++ b/setupMDT.ps1 @@ -44,6 +44,15 @@ New-Item -ItemType Directory -Force -Path \\SynCloud\Data\Resources\Dell\Driver\ Start-BitsTransfer "https://downloads.dell.com/FOLDER08644749M/1/3070-0DFFN_Win10_1.0_A09.exe" \\SynCloud\Data\Resources\Dell\Driver\3070\3070-0DFFN_Win10_1.0_A09.exe cmd /c \\SynCloud\Data\Resources\Dell\Driver\3070\3070-0DFFN_Win10_1.0_A09.exe /s /e=\\SynCloud\Data\Resources\Dell\Driver\3070\ #^that takes a while, consider doing it locally + +#for virtio proxmox drivers +$info = Mount-DiskImage -ImagePath "\\SynCloud\Data\Resources\virtio-win-0.1.262.iso" +$Drive = ($info | get-volume) +$Source = $Drive.DriveLetter+":\" +new-item -path "DS001:\Out-of-Box Drivers" -enable "True" -Name "Virtio" -Comments "Put em in a folder ya Dingus" -ItemType "folder" -Verbose +import-mdtdriver -path "DS001:\Out-of-Box Drivers\Virtio" -SourcePath $Source -ImportDuplicates -Verbose +Dismount-DiskImage -ImagePath "\\SynCloud\Data\Resources\virtio-win-0.1.262.iso" + #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