Care to share? On Mon, Nov 22, 2010 at 7:29 AM, Brumbaugh, Luke < luke.brumba...@butlerschein.com> wrote:
> The script I found for lastlogon takes in account all DCs > > > > > > *From:* Free, Bob [mailto:r...@pge.com] > *Sent:* Friday, November 19, 2010 3:00 PM > > *To:* NT System Admin Issues > *Subject:* RE: VBS script to do lastlogon older than 60 days. > > > > You realize that lastlogon is a unique value on each DC and that has to be > account for, right? > > > > *From:* Brumbaugh, Luke [mailto:luke.brumba...@butlerschein.com] > *Sent:* Friday, November 19, 2010 11:37 AM > *To:* NT System Admin Issues > *Subject:* RE: VBS script to do lastlogon older than 60 days. > > > > Thanks for quick response but then I found datediff(d, lastlogon, date) > which will give me number of days. > > Now all I need to do is pull supervisor email and send a canned email with > the info. Wish me luck =) > > > > > > > > *From:* Sean Martin [mailto:seanmarti...@gmail.com] > *Sent:* Friday, November 19, 2010 1:45 PM > *To:* NT System Admin Issues > *Subject:* Re: VBS script to do lastlogon older than 60 days. > > > > Does this help? > > > > > http://blogs.technet.com/b/heyscriptingguy/archive/2010/01/27/dandelions-vcr-clocks-and-last-logon-times-these-are-a-few-of-our-least-favorite-things.aspx > > > > - Sean > > On Fri, Nov 19, 2010 at 9:41 AM, John Cook <john.c...@pfsf.org> wrote: > > Oldcomp should give you a good start > John W. Cook > Systems Administrator > Partnership for Strong Families > > > ------------------------------ > > *From*: Brumbaugh, Luke <luke.brumba...@butlerschein.com> > *To*: NT System Admin Issues <ntsysadmin@lyris.sunbelt-software.com> > *Sent*: Fri Nov 19 13:36:25 2010 > *Subject*: VBS script to do lastlogon older than 60 days. > > I am getting pieces but I am looking for a vbs script to give me lastlogon > of users older than 60 days that I can then send an email to supervisor > giving user and number of days since last logon. > > I have fully populated AD so shouldn’t be too hard. > > > > Just need to get over the lastlogon number of days part. > > > > TIA > > > > *Luke L. Brumbaugh* > > Network Engineer > > Butler Animal Health Supply > > Ph:(614) 659-1736 > > > > > > ********************************************************************** > > CONFIDENTIALITY NOTICE - The information transmitted in this message is > intended only for the person or entity to which it is addressed and may > contain confidential and/or privileged material. Any review, retransmission, > dissemination or other use of this information by persons or entities other > than the intended recipient is prohibited. If you received this in error, > please contact the sender and destroy all copies of this document. Thank > you. > > Butler Schein Animal Health > > ********************************************************************** > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > --- > To manage subscriptions click here: > http://lyris.sunbelt-software.com/read/my_forums/ > or send an email to listmana...@lyris.sunbeltsoftware.com > with the body: unsubscribe ntsysadmin > > > ------------------------------ > > CONFIDENTIALITY STATEMENT: The information transmitted, or contained or > attached to or with this Notice is intended only for the person or entity to > which it is addressed and may contain Protected Health Information (PHI), > confidential and/or privileged material. Any review, transmission, > dissemination, or other use of, and taking any action in reliance upon this > information by persons or entities other than the intended recipient without > the express written consent of the sender are prohibited. This information > may be protected by the Health Insurance Portability and Accountability Act > of 1996 (HIPAA), and other Federal and Florida laws. Improper or > unauthorized use or disclosure of this information could result in civil > and/or criminal penalties. > Consider the environment. Please don't print this e-mail unless you really > need to. > > This email and any attached files are confidential and intended solely for > the intended recipient(s). If you are not the named recipient you should not > read, distribute, copy or alter this email. Any views or opinions expressed > in this email are those of the author and do not represent those of the > company. Warning: Although precautions have been taken to make sure no > viruses are present in this email, the company cannot accept responsibility > for any loss or damage that arise from the use of this email or attachments. > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > --- > To manage subscriptions click here: > http://lyris.sunbelt-software.com/read/my_forums/ > or send an email to listmana...@lyris.sunbeltsoftware.com > with the body: unsubscribe ntsysadmin > > > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > --- > To manage subscriptions click here: > http://lyris.sunbelt-software.com/read/my_forums/ > or send an email to listmana...@lyris.sunbeltsoftware.com > with the body: unsubscribe ntsysadmin > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > --- > To manage subscriptions click here: > http://lyris.sunbelt-software.com/read/my_forums/ > or send an email to listmana...@lyris.sunbeltsoftware.com > with the body: unsubscribe ntsysadmin > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > --- > To manage subscriptions click here: > http://lyris.sunbelt-software.com/read/my_forums/ > or send an email to listmana...@lyris.sunbeltsoftware.com > with the body: unsubscribe ntsysadmin > > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ > ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ > > --- > To manage subscriptions click here: > http://lyris.sunbelt-software.com/read/my_forums/ > or send an email to listmana...@lyris.sunbeltsoftware.com > with the body: unsubscribe ntsysadmin > ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to listmana...@lyris.sunbeltsoftware.com with the body: unsubscribe ntsysadmin