Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Active Directory password age
Topic Summary: How do you get the password age
Created On: 11/25/2013 07:07 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by ChrisThomas, on Wednesday, December 4, 2013 6:43 AM

Answer:

Ok, i had fubared the connection and it works and actually gives the date which is nice.  see attached code.

Next question. Is it possible to run a query within automate to show all accounts with a password that is older than say 80 days?

 11/25/2013 07:07 AM
User is offline View Users Profile Print this message

Author Icon
ChrisThomas
Apprentice (20-49)

Posts: 41
Joined: 08/13/2012

Hi, i searched on this forum and could not find it, is there a way to pull the password age of a active directory user object?  I've done it in vbscript (will attach) but want to convert it to Automate instead.

What i want to end up doing is getting the users password age and start sending emails once it is so many days old.

Thanks

Chris




Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 11/25/2013 07:42 AM
User is offline View Users Profile Print this message

Author Icon
ChrisThomas
Apprentice (20-49)

Posts: 41
Joined: 08/13/2012

Answer Answer

Ok, i had fubared the connection and it works and actually gives the date which is nice.  see attached code.

Next question. Is it possible to run a query within automate to show all accounts with a password that is older than say 80 days?




Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 12/05/2013 08:42 AM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hi Chris,

In order to accomplish your request in AutoMate, I would suggest you complete the following;

1. Get ALL Users and Loop
2. Use the Get AD Object "pwdLastSet" under User
3. You can then Compare
4. If it meets our criteria execute the following

Let us know if that works for you.

-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1315 guests browsing this forum, which makes a total of 1315 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog