Powershell set account expiration date

broken image
broken image

The first method relies upon Command Prompt and can be used by either an administrator or even by the user themselves on their device (So long as your users are allowed access to cmd).

broken image

Password expiration can be an inconvenience for both users and administrators, but there are two straightforward and accessible ways to discover when your AD user passwords will expire. This guide shows you several ways to find out when your active directory user passwords will expire. Identifying when your user’s password will expire allows you to plan for when they do.