This commit is contained in:
rbalsleyMSFT
2024-06-17 14:40:55 -07:00
parent 08e354ad17
commit 181eed8f12
5 changed files with 136 additions and 119 deletions
+1 -1
View File
@@ -2889,7 +2889,7 @@ WriteLog 'Creating dirty.txt file'
New-Item -Path .\ -Name "dirty.txt" -ItemType "file" | Out-Null
#Get drivers first since user could be prompted for additional info
if (($make) -and ($model)){
if (($make -and $model) -and ($installdrivers -or $copydrivers)) {
try {
if ($Make -eq 'HP'){
WriteLog 'Getting HP drivers'