diff --git a/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 b/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 index 6f79978..b472b3c 100644 --- a/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 +++ b/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 @@ -101,22 +101,25 @@ function Import-InstallerModules { foreach($Module in $Modules) { - $Path =vJoin-Path $Script:ModulePath $Module - - if(Test-Path $Path) { - Import-Module $Path -Force + + Write-Host "Lade Modul: $Path" -ForegroundColor Cyan + + Import-Module ` + $Path ` + -Force ` + -Verbose ` + -ErrorAction Stop + } else { throw ` - "Modul nicht gefunden: $Path" - } }