This should work if i understand your question correctly

wmic netlogin where (Name like "%usernameofchoice") GET PasswordExpires


On Wed, 2009-06-10 at 13:29 -0700, Kennith Asher wrote:
> Hey all you WMIC gurus out there.  I'm trying to find a
> straightforward means of identifying when a domain user's password
> will expire.  Is there a modifier or switch I can set to bring back
> password expiry for another domain user?
> 
> I know I can use:
> 
> Wmic netlogin get passwordexpires
> 
> to find when my password expires, can this be done for another domain
> user?  Assume I have admin privileges.
> 
> Oh, and just so that we're clear here, this is for the domain we use
> at work, I am doing this on behalf of a user I support.
> 
> Thanks,
> 
> Ken
> _______________________________________________
> Pauldotcom mailing list
> [email protected]
> http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
> Main Web Site: http://pauldotcom.com

_______________________________________________
Pauldotcom mailing list
[email protected]
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

Reply via email to