Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Script that it lists users of active directory 5 months not logam

HTVi
TV Discussion Newsgroups

Script that it lists users of active directory 5 months not logam
Alexandre Alvarez Fernandez 6/4/2007 11:21:02 PM
necessary of one script that it lists the users of it active directory that
the 5 months are not logam more than.
Re: Script that it lists users of active directory 5 months not logam
"Richard Mueller [MVP]" <rlmueller-nospam[ at ]ameritech.nospam.net> 6/5/2007 2:38:09 AM

"Alexandre Alvarez Fernandez" <Alexandre Alvarez
Fernandez[ at ]discussions.microsoft.com> wrote in message
news:988E78C1-CC4C-43AF-B37A-A2A305BB4528[ at ]microsoft.com...
[Quoted Text]
> necessary of one script that it lists the users of it active directory
> that
> the 5 months are not logam more than.

You can use Joe Richards' free oldcmp tool to find inactive users:

http://www.joeware.net/win/free/tools/oldcmp.htm

And, I have an example VBScript program that documents all users in the
domain and when they last logged on:

http://www.rlmueller.net/Last%20Logon.htm

You should run the script at a command prompt with the cscript host and
redirect the output to a text file. For example, assuming you are in the
directory where the program LastLogon.vbs is saved:

cscript //nologo LastLogon.vbs > report.txt

creates the file report.txt in the same directory. This text file can be
read into a spreadsheet for analysis. For example, you could sort by last
logon. Any dates of January 1, 1601, mean "never".

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen