Ignore inexistent program configurations
This commit is contained in:
parent
3161f3071b
commit
189435fe8b
1 changed files with 5 additions and 1 deletions
|
@ -205,7 +205,11 @@ $null = New-Module {
|
||||||
$Name
|
$Name
|
||||||
)
|
)
|
||||||
|
|
||||||
return (Get-ProgramConfig @PSBoundParameters).enable;
|
try {
|
||||||
|
(Get-ProgramConfig @PSBoundParameters).enable;
|
||||||
|
} catch {
|
||||||
|
$false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<#
|
<#
|
||||||
|
|
Loading…
Reference in a new issue