Version 1.5

This commit is contained in:
Madzone
2026-08-06 23:35:00 +02:00
parent da713c2167
commit 272b897997
+2 -24
View File
@@ -85,25 +85,15 @@ function Import-InstallerModules {
$Modules = @( $Modules = @(
"Core\Logging.psm1", "Core\Logging.psm1",
"Core\Configuration.psm1", "Core\Configuration.psm1",
"Core\Utilities.psm1", "Core\Utilities.psm1",
"Core\Security.psm1", "Core\Security.psm1",
"Core\SQL.psm1", "Core\SQL.psm1",
"Core\DryRun.psm1", "Core\DryRun.psm1",
"Veeam\VeeamInstallation.psm1", "Veeam\VeeamInstallation.psm1",
"Veeam\Repository.psm1", "Veeam\Repository.psm1",
"Veeam\BackupJobs.psm1" "Veeam\BackupJobs.psm1"
) )
@@ -112,25 +102,13 @@ function Import-InstallerModules {
{ {
$Path = $Path =vJoin-Path $Script:ModulePath $Module
Join-Path `
$Script:ModulePath `
$Module
if(Test-Path $Path) if(Test-Path $Path)
{ {
Import-Module $Path -Force
Import-Module `
$Path `
-Force
} }
else else
{ {