Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Expire accounts frm ActiveDirectory after a peri

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,1206
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Expire accounts frm ActiveDirectory after a peri
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Expire accounts frm ActiveDirectory after a peri - 8/3/2004 6:26:24 AM   
  stalliondreamz

 

Posts: 4
Score: 0
Joined: 8/3/2004
From: USA
Status: offline
Hey Guys,
Can someone please help me out, i need to write a script for Disabling user accounts in the Active Directory if it has not been active or logged on in the past six month 6 months.
Thank you,
Stallion

please email me at: jayssheth@yahoo.com

Thanks a bunch!!!
I really need help....
 
 
Post #: 1
 
 Re: Expire accounts frm ActiveDirectory after a peri - 8/3/2004 9:00:13 AM   
  mbouchard


Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
This should help you started http://www.microsoft.com/technet/community/scriptcenter/user/default.mspx

(in reply to stalliondreamz)
 
 
Post #: 2
 
 Re: Expire accounts frm ActiveDirectory after a peri - 8/3/2004 9:47:30 AM   
  stalliondreamz

 

Posts: 4
Score: 0
Joined: 8/3/2004
From: USA
Status: offline
This does help me, infact ive been here before, but those scripts are written for one particular account, how would i write the script for any User account not accessed in 6 months?
Appreciate your help.
Thank you,
Stallion


quote:
Originally posted by mbouchard

This should help you started http://www.microsoft.com/technet/community/scriptcenter/user/default.mspx



(in reply to stalliondreamz)
 
 
Post #: 3
 
 Re: Expire accounts frm ActiveDirectory after a peri - 8/3/2004 11:10:44 AM   
  mbouchard


Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
unfortunately I am not able to test any of these scripts, but try the "Returning all the attributes of the active directory user class" and see if that gives you any of the info that you are looking for.

(in reply to stalliondreamz)
 
 
Post #: 4
 
 Re: Expire accounts frm ActiveDirectory after a peri - 8/4/2004 4:42:37 AM   
  stalliondreamz

 

Posts: 4
Score: 0
Joined: 8/3/2004
From: USA
Status: offline
Thanks mbouchard.. appreciate your help but i still dont understand it. If there is anyone else who does understand my question please feel free to answer, your help is greatly required!
Thanks,
Stallion

quote:
Originally posted by mbouchard

unfortunately I am not able to test any of these scripts, but try the "Returning all the attributes of the active directory user class" and see if that gives you any of the info that you are looking for.


(in reply to stalliondreamz)
 
 
Post #: 5
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Expire accounts frm ActiveDirectory after a peri Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts