Jump to content

Powershell require new password


PaulWTech

Recommended Posts

I have a Windows 10 Pro (local) machine that is not responding to:
wmic UserAccount set PasswordExpires=True

I've been digging a big hole looking for a comparable powershell command. Anyone know?

Also, how to check if the user cannot change password is set. It does not list using
net accounts

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...