Check Submission User Password Expiration Date
Script will return the expiration date for any given domain user name.
This script will return the expiration date for any given domain user name (passed as a Parameter).
Expected Behavior:
If password expiration
date is more than 10 days in the future:
Script will end successfully and return the number of days before expiration
If password expiration date is less than 10 days, but more than 3 days in the future:
The script will end successfully but return a warning prompting to change the password
If password expiration date is less than 3 days in the future:
The script will
abort and return a warning prompting to change the password immediatly
Target environments: Windows
Prerequisites: Powershell
Products | Workload Automation, Dollar Universe Workload Automation |
Operating Systems | Windows |
Last update | 2015-06-08 04:49:33.0 |
Supported by | |
Community Source | check-submission-user-password-expiration-date |
Broadcom does not support, maintain or warrant Solutions, Templates, Actions and any other content published on the Community
and is subject to Broadcom Community Terms and Conditions.
|