From 0133205b2654ce3b33227035f8bddf42b8d24e84 Mon Sep 17 00:00:00 2001 From: Madzone Date: Fri, 7 Aug 2026 00:28:54 +0200 Subject: [PATCH] Version1.%C --- VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 b/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 index b472b3c..003ac80 100644 --- a/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 +++ b/VEEAM-INSTTALL/Install-VeeamEnterprise.ps1 @@ -142,10 +142,22 @@ function Initialize-Installer { Write-Host "2 - Module laden" - Import-InstallerModules + try + { + Import-InstallerModules - Write-Host "3 - Module erfolgreich geladen." -ForegroundColor Green + Write-Host "3 - Module erfolgreich geladen." -ForegroundColor Green + } + catch + { + Write-Host "" + Write-Host "FEHLER BEIM MODULLADEN:" -ForegroundColor Red + Write-Host $_.Exception.Message -ForegroundColor Red + Write-Host $_.InvocationInfo.PositionMessage -ForegroundColor Yellow + + throw + } }