Hi @PerserPolis-1732 ,
you can try with adding the following line at the end:
net user ($User.Name) /logonpasswordchg:yes
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten