tag:blogger.com,1999:blog-92377218009570869.post2126802808134865169..comments2023-04-20T21:35:59.166+08:00Comments on Microsoft technologies and what I do for fun: Identify password expiration in Active DirectoryEdwin Sarmientohttp://www.blogger.com/profile/07565782661284058863noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-92377218009570869.post-30828051372116582562009-08-04T22:02:40.849+08:002009-08-04T22:02:40.849+08:00This one above worked very well!!! Thanks ;)This one above worked very well!!! Thanks ;)Duhttps://www.blogger.com/profile/00963543281149418185noreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-42982349429959058792009-07-19T06:53:00.309+08:002009-07-19T06:53:00.309+08:00The fixed and updated script is at:http://compulsi...The fixed and updated script is at:http://compulsived.com/wordpress/2009/07/18/automated-domain-password-expiration-notifications-through-email/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-40553451088535253932009-05-14T12:38:00.000+08:002009-05-14T12:38:00.000+08:00I think the entire script is getting formatted by ...I think the entire script is getting formatted by the site. If the adoCommand.Execute is failing, it means that there is something wrong with the query itself, which is defined by strQuery. If you are still having problems, you can send me an IM on MSNEdwin Sarmientohttps://www.blogger.com/profile/07565782661284058863noreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-76308075606936602812009-04-24T21:18:00.000+08:002009-04-24T21:18:00.000+08:00The strQuery causing the problem.
The LDAP connect...The strQuery causing the problem.<br />The LDAP connection not defined correctly (the ; is not enough).<br /><br />Can't publish the solution here because the site is blocking, but check this for example:<br /><br />http://windowsitpro.com/article/articleid/84912/jsi-tip-10015-how-can-i-use-vbscript-to-return-all-the-users-in-an-ou-organizational-unit.html<br /><br />Good luckKrisznoreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-73740524027522075092009-02-13T06:05:00.000+08:002009-02-13T06:05:00.000+08:00in the process of steping through the script, tryi...in the process of steping through the script, trying to determine where it failed, Line 91 was all the info it gave, we determined it failed at the line<BR/>Set adoRecordset=adoCommand.ExecuteAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-33873185743634047942009-02-13T03:08:00.000+08:002009-02-13T03:08:00.000+08:00It was just the generic message saying that one or...It was just the generic message saying that one or more errors occurred during processing the command. <BR/><BR/>I looked at the PowerShell script, but it doesnt appear to send a notification email. That piece is important to me since none of my users log onto the domain, they are all spread across the country.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-78971541701686259932009-02-07T14:23:00.000+08:002009-02-07T14:23:00.000+08:00What's the exact error message? have you tried th...What's the exact error message? have you tried the PowerShell version of the script?Edwin Sarmientohttps://www.blogger.com/profile/07565782661284058863noreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-81506758974862953062009-02-06T01:16:00.000+08:002009-02-06T01:16:00.000+08:00I have not gotten past the error that they were ha...I have not gotten past the error that they were having above. <BR/> <BR/> Set adoRecordset=adoCommand.Execute<BR/> <BR/>This script is exactly what i need for our environment, just need to get past this. <BR/><BR/>Is it an authentication, or a user account problem?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-45337674959806422792008-11-19T05:47:00.000+08:002008-11-19T05:47:00.000+08:00I didn't get the chance to reply to your posts due...I didn't get the chance to reply to your posts due to much work :-)<BR/><BR/>Have you managed to solve your issues? I have written something similar - and simpler - using PowerShell <BR/>http://bassplayerdoc.blogspot.com/2008/07/extract-users-last-password-set-in.htmlEdwin Sarmientohttps://www.blogger.com/profile/07565782661284058863noreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-35563234656242782962008-11-05T04:17:00.000+08:002008-11-05T04:17:00.000+08:00Did anybody get passed the adoCommand.Execute erro...Did anybody get passed the adoCommand.Execute error message?cbeahmhttps://www.blogger.com/profile/11795199529066271178noreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-55489831257512356372008-07-16T03:05:00.000+08:002008-07-16T03:05:00.000+08:00I'm getting the same error and have searched all a...I'm getting the same error and have searched all around on how to get it to work.<BR/><BR/>Looks like a great script! Thanks for the work. I'm hoping to get it working!Adamhttps://www.blogger.com/profile/15863104100123664251noreply@blogger.comtag:blogger.com,1999:blog-92377218009570869.post-41359615238401081572008-07-11T03:37:00.000+08:002008-07-11T03:37:00.000+08:00I am having a difficult time getting this script t...I am having a difficult time getting this script to work. I am getting an error message on line 124,<BR/><BR/>Set adoRecordset = adoCommand.Execute<BR/>Do Until adoRecordset.EOF<BR/><BR/>The error message is a generic one - "One or more errors occurred during processing of command."<BR/><BR/>Does anyone have any ideas?<BR/><BR/>ThanksAnonymousnoreply@blogger.com