From 7c848db3639b2b28cfe1c94009bad097bbc6c315 Mon Sep 17 00:00:00 2001 From: Madzone Date: Fri, 7 Aug 2026 00:18:59 +0200 Subject: [PATCH] Version 1.5B --- VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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" - } }