Madzone
|
1b3e50cd32
|
function Get-VeeamConfig {
<#
.SYNOPSIS
Lädt zentrale Veeam Konfiguration aus JSON.
#>
param(
[string]$Path = (Join-Path ( Split-Path $PSScriptRoot -Parent )"Config\VeeamConfig.json")
)
if(!(Test-Path $Path))
{
throw `
"Konfigurationsdatei nicht gefunden: $Path"
}
$Content =
Get-Content `
-Path $Path `
-Raw
$Configuration =
$Content |
ConvertFrom-Json
return $Configuration
}
|
2026-10-15 13:11:00 +02:00 |
|