From 0f12881979981cb8a2b251e204d45fd893b14df9 Mon Sep 17 00:00:00 2001 From: Johan Ljunggren Date: Sun, 28 Jul 2019 18:25:04 +0200 Subject: [PATCH] Fix correct localized string --- DSCResources/MSFT_ADUser/MSFT_ADUser.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSCResources/MSFT_ADUser/MSFT_ADUser.psm1 b/DSCResources/MSFT_ADUser/MSFT_ADUser.psm1 index 7eb9011ee..6a9817a60 100644 --- a/DSCResources/MSFT_ADUser/MSFT_ADUser.psm1 +++ b/DSCResources/MSFT_ADUser/MSFT_ADUser.psm1 @@ -2367,7 +2367,7 @@ function Test-Password if ($Credential) { Write-Verbose -Message ( - $script:localizedData.CheckingADUserPassword -f $Credential.UserName, $UserName + $script:localizedData.TestPasswordUsingImpersonation -f $Credential.UserName, $UserName ) $principalContext = New-Object -TypeName 'System.DirectoryServices.AccountManagement.PrincipalContext' -ArgumentList @(