Dateien nach "/" hochladen
This commit is contained in:
@@ -46,6 +46,7 @@ $RemoteRelayUrl = "$RepoBaseUrl/raw/branch/main/SMTPGraphRelay.ps1"
|
||||
$ManagedReleaseFiles = @(
|
||||
"SMTPGraphRelay.ps1",
|
||||
"Test-SMTPGraphRelay.ps1",
|
||||
"Test-SMTPGraphRelay-FailureModes.ps1",
|
||||
"Renew-SMTPGraphRelayCertificate.ps1",
|
||||
"Setup-SMTPGraphRelay.ps1",
|
||||
"version.json",
|
||||
@@ -2076,6 +2077,19 @@ function Manage-SmtpAuth {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function Invoke-FailureModeTests {
|
||||
Write-Title "SMTPGraphRelay - Failure Mode QA"
|
||||
|
||||
$tester = Join-Path $InstallPath "Test-SMTPGraphRelay-FailureModes.ps1"
|
||||
if (-not (Test-Path -LiteralPath $tester)) {
|
||||
Write-Fail "Test-SMTPGraphRelay-FailureModes.ps1 ist nicht installiert."
|
||||
return
|
||||
}
|
||||
|
||||
& $tester -InstallPath $InstallPath
|
||||
}
|
||||
|
||||
function Uninstall-Relay {
|
||||
Write-Title "SMTPGraphRelay - Deinstallation"
|
||||
|
||||
@@ -2241,6 +2255,7 @@ function Show-Menu {
|
||||
Write-Host " [8] Status anzeigen"
|
||||
Write-Host " [9] SMTP-AUTH verwalten"
|
||||
Write-Host " [10] Failed Queue verwalten"
|
||||
Write-Host " [11] Failure-Mode QA"
|
||||
Write-Host " [0] Beenden"
|
||||
Write-Host ""
|
||||
}
|
||||
@@ -2263,6 +2278,7 @@ while ($true) {
|
||||
"8" { Show-Status }
|
||||
"9" { Manage-SmtpAuth }
|
||||
"10" { Manage-FailedQueue }
|
||||
"11" { Invoke-FailureModeTests }
|
||||
"0" { break }
|
||||
default { Write-Warn "Ungültige Auswahl." }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user