title: ChangePasswordAtLogon for LocalUser
body: <p>I found this post helpful. <a href="https://stackoverflow.com/questions/46493181/powershell-user-must-change-password-at-next-logon">PowerShell - User Must Change Password at Next Logon</a></p>
  <p>Is it possible to force a user to set a password on next sign in by using something like this?</p>
  <pre><code>Set-LocalUser -ChangePasswordAtLogon:$true
  </code></pre>
  <p>I get a NamedParameter error when trying the script above.</p>
  <p>What's the best way to force a local user account to reset a password upon login?</p>