Password Expiration Login script vba
Microsoft Windows
Windows Server
VBA Code to check for password expiry and display a message if the password expires in the next 10 days.
Add-Type -AssemblyName PresentationFramework
curruser=Get−ADUser−Identity
env:username -Properties 'msDS-UserPasswordExpiryTimeComputed','PasswordNeve...