Update setupMDT.ps1
add virtio
This commit is contained in:
parent
8d302e5586
commit
bf38c8b77c
|
@ -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
|
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\
|
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
|
#^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
|
#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
|
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
|
import-mdtdriver -path "DS001:\Out-of-Box Drivers\Optiplex3070" -SourcePath "\\SynCloud\Data\Resources\Dell\Driver\3070\3070" -ImportDuplicates -Verbose
|
||||||
|
|
Loading…
Reference in a new issue