Skip to content

Commit 3652d30

Browse files
committed
Wrong Schema attribute lookup
1 parent 17ed018 commit 3652d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Public/Set-AdAclLaps.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function Set-AdAclLaps {
107107
} #end If-Else
108108
#>
109109

110-
if ($Variables.GuidMap['ms-Mcs-AdmPwdExpirationTime']) {
110+
if ($Variables.GuidMap['msLAPS-Password']) {
111111

112112
Write-Verbose -Message 'LAPS is supported on this environment. We can proceed to configure it.'
113113

0 commit comments

Comments
 (0)