From 0327cddffe59d55b4b764083a5b27c0475bf1e11 Mon Sep 17 00:00:00 2001 From: David Paulson Date: Fri, 23 Jul 2021 13:28:57 -0500 Subject: [PATCH] Removed throw that stops script Don't need to have a throw here. Softly handle it with Write-Error instead to have the script continue. --- Setup/SetupAssist/Checks/Test-ValidHomeMdb.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Setup/SetupAssist/Checks/Test-ValidHomeMdb.ps1 b/Setup/SetupAssist/Checks/Test-ValidHomeMdb.ps1 index 97a65fd0b9..bbfb0ac382 100644 --- a/Setup/SetupAssist/Checks/Test-ValidHomeMdb.ps1 +++ b/Setup/SetupAssist/Checks/Test-ValidHomeMdb.ps1 @@ -46,6 +46,6 @@ Function Test-ValidHomeMDB { "All Critical Mailboxes have valid HomeMDB values" | Receive-Output } } else { - throw "Unexpected LDIF data." + Write-Error "Unexpected LDIF data in Test-ValidHomeMdb." } }