Home page logo
/

pauldotcom logo PaulDotCom mailing list archives

WMIC help
From: daniel at virturity.com (Daniel [Virturity.com])
Date: Thu, 11 Jun 2009 10:43:59 +0100

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
Pauldotcom at mail.pauldotcom.com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com



  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault