Version 1.5
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user