Rename driver installation function

This commit is contained in:
Manuel Thalmann 2023-07-15 11:33:42 +02:00
parent 7f3144e482
commit 6eefc472fb

View file

@ -16,9 +16,9 @@ function Invoke-WindowsInstallation([Context] $context)
Write-Host "Installing Drivers";
Write-Information "Looking for driver installation function";
if ((Get-Command Install-Drivers -ErrorAction SilentlyContinue)) {
if ((Get-Command Install-PortValhallaDrivers -ErrorAction SilentlyContinue)) {
Write-Information "Driver installation function was found. Starting installation";
Install-Drivers $context;
Install-PortValhallaDrivers $context;
}
Write-Information "Finished installing drivers";