From 5127c2d09640584ce7ebdccb48a079ed0ac4b5e0 Mon Sep 17 00:00:00 2001 From: Tomas Kracmar Date: Tue, 9 Jun 2026 09:56:24 +0200 Subject: [PATCH] fix(Test-WeakADPasswords): surface replication permission success to console Replace Write-Verbose with Write-Host so operators see the permissions verification result without needing -Verbose. --- Test-WeakADPasswords.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test-WeakADPasswords.ps1 b/Test-WeakADPasswords.ps1 index 61f038c..743a38c 100644 --- a/Test-WeakADPasswords.ps1 +++ b/Test-WeakADPasswords.ps1 @@ -656,7 +656,7 @@ function Test-ReplicationPermissions { $Credential.UserName, $DomainDN, ($missing -join "`n - ")) } - Write-Verbose ("Replication permission pre-check passed for '{0}'." -f $Credential.UserName) + Write-Host ("[+] Replication permissions verified for '{0}'." -f $Credential.UserName) } # Function to test for weak AD passwords