Setup-SMTPGraphRelay.ps1 aktualisiert

This commit is contained in:
manuel.maier committed 2026-10-13 11:40:22 +02:00
1 parent 8d94f97aaf
commit 46bfa13d21
1 file changed
+3 -3
+3 -3
View File
@@ -1961,7 +1961,7 @@ function Invoke-FailureModeTests {
function Uninstall-Relay { function Uninstall-Relay {
Write-Title "SMTPGraphRelay - Deinstallation" Write-Title "SMTPGraphRelay - Deinstallation"
$config = Get-RelayConfig -TargetPath$InstallPath $config = Get-RelayConfig -TargetPath $InstallPath
Write-Warn "Lokale Deinstallation entfernt Task, Firewallregel und auf Wunsch das lokale Zertifikat." Write-Warn "Lokale Deinstallation entfernt Task, Firewallregel und auf Wunsch das lokale Zertifikat."
if (-not (Confirm-Yes "Lokale SMTPGraphRelay-Installation wirklich entfernen?")) { if (-not (Confirm-Yes "Lokale SMTPGraphRelay-Installation wirklich entfernen?")) {
@@ -2048,7 +2048,7 @@ function Show-Status {
if (Test-Path -LiteralPath $configPath) { if (Test-Path -LiteralPath $configPath) {
Write-Ok "config.json vorhanden." Write-Ok "config.json vorhanden."
try { try {
$config = Get-RelayConfig -TargetPath$InstallPath $config = Get-RelayConfig -TargetPath $InstallPath
Write-Host " Sender: $($config.Graph.SenderMailbox) (ForceSender: $($config.Graph.ForceSender))" Write-Host " Sender: $($config.Graph.SenderMailbox) (ForceSender: $($config.Graph.ForceSender))"
Write-Host " SMTP: $($config.Smtp.ListenAddress):$($config.Smtp.Port)" Write-Host " SMTP: $($config.Smtp.ListenAddress):$($config.Smtp.Port)"
Write-Host " Client: $($config.Graph.ClientId)" Write-Host " Client: $($config.Graph.ClientId)"
@@ -2083,7 +2083,7 @@ function Show-Menu {
Write-Title "SMTPGraphRelay - Bootstrap / Repair / Online Update" Write-Title "SMTPGraphRelay - Bootstrap / Repair / Online Update"
Write-Host "Installationspfad: $InstallPath" -ForegroundColor DarkGray Write-Host "Installationspfad: $InstallPath" -ForegroundColor DarkGray
$installedVersion = Get-InstalledVersion -TargetPath$InstallPath $installedVersion = Get-InstalledVersion -TargetPath $InstallPath
if ($installedVersion -and$installedVersion.Version) { if ($installedVersion -and$installedVersion.Version) {
Write-Host "Installiert: $($installedVersion.Version)" -ForegroundColor DarkGray Write-Host "Installiert: $($installedVersion.Version)" -ForegroundColor DarkGray