Version 1.5
This commit is contained in:
@@ -85,25 +85,15 @@ function Import-InstallerModules {
|
||||
|
||||
|
||||
$Modules = @(
|
||||
|
||||
"Core\Logging.psm1",
|
||||
|
||||
"Core\Configuration.psm1",
|
||||
|
||||
"Core\Utilities.psm1",
|
||||
|
||||
"Core\Security.psm1",
|
||||
|
||||
"Core\SQL.psm1",
|
||||
|
||||
"Core\DryRun.psm1",
|
||||
|
||||
"Veeam\VeeamInstallation.psm1",
|
||||
|
||||
"Veeam\Repository.psm1",
|
||||
|
||||
"Veeam\BackupJobs.psm1"
|
||||
|
||||
)
|
||||
|
||||
|
||||
@@ -112,25 +102,13 @@ function Import-InstallerModules {
|
||||
{
|
||||
|
||||
|
||||
$Path =
|
||||
|
||||
Join-Path `
|
||||
|
||||
$Script:ModulePath `
|
||||
|
||||
$Module
|
||||
$Path =vJoin-Path $Script:ModulePath $Module
|
||||
|
||||
|
||||
|
||||
if(Test-Path $Path)
|
||||
{
|
||||
|
||||
Import-Module `
|
||||
|
||||
$Path `
|
||||
|
||||
-Force
|
||||
|
||||
Import-Module $Path -Force
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user