Skip to content

Commit 818a00c

Browse files
committed
Leave ADK reg query error to debug only
1 parent 4e95ce1 commit 818a00c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/microwin/Microwin-GetKitsRoot.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function Microwin-GetKitsRoot {
3333
try {
3434
$adk10KitsRoot = Get-ItemPropertyValue -Path $regPath -Name "KitsRoot10" -ErrorAction Stop
3535
} catch {
36-
Write-Host "Could not find ADK."
36+
Write-Debug "Could not find ADK."
3737
}
3838

3939
return $adk10KitsRoot

0 commit comments

Comments
 (0)