Is your feature request related to a problem? Please describe.
The BIS-F function Set-LAPSExpirationTime uses legacy LAPS commands to set the attribute ms-Mcs-AdmPwdExpirationTime to 0.
This does not work with Windows LAPS, which is supported from Windows Sevrer 2019 and newer.
https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-overview
Describe the solution you'd like
To support both LAPS versions there has to bee a check if Legacy LAPS or Windows LAPS is used.
If Windows LAPS there is a new function Reset-LapsPassword.
https://support.citrix.com/s/article/CTX331247-laps-randomizing-local-admin-passwords-in-nonpersistent-environments?language=en_US
Describe alternatives you've considered
BIS-F Custom Skript to run Reset-LapsPassword in Personalization
Screenshots
No response
Additional context
Is your feature request related to a problem? Please describe.
The BIS-F function Set-LAPSExpirationTime uses legacy LAPS commands to set the attribute ms-Mcs-AdmPwdExpirationTime to 0.
This does not work with Windows LAPS, which is supported from Windows Sevrer 2019 and newer.
https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-overview
Describe the solution you'd like
To support both LAPS versions there has to bee a check if Legacy LAPS or Windows LAPS is used.
If Windows LAPS there is a new function Reset-LapsPassword.
https://support.citrix.com/s/article/CTX331247-laps-randomizing-local-admin-passwords-in-nonpersistent-environments?language=en_US
Describe alternatives you've considered
BIS-F Custom Skript to run Reset-LapsPassword in Personalization
Screenshots
No response
Additional context