CmdID / PowerShell / Cmdlets / Set
Set-LapsADPasswordExpirationTime
Sets the Windows Local Administrator Password Solution (LAPS) password expiration timestamp on an Active Directory (AD) computer or domain controller object. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-CredentialSpecifies the credentials to use when updating AD.-DomainSpecifies the name of the domain to connect to.-DomainControllerSpecifies the name of the domain controller to connect to.-IdentitySpecifies the name of the computer or domain controller object to set the LAPS password expiration time on.-WhenEffectiveSpecifies the new LAPS password expiration time.