pwpolicy - policyAttributeExpiresOnDate

user-sZvWrcvTWj
New Contributor

Hey folks,

Am trying to do up a script to set the local policyAttributeExpiresOnDate value on logon.

No matter what I send it's not working though. e.g. 31/12/20 vs. 12/31/20.
pwpolicy is accepting my XML without any errors so that's something.

Anyone got any tips for handling this?

Thanks

0 REPLIES 0