Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: chrisuk11
  • Content: Threads
  • Order by date
  1. chrisuk11

    Search AD for accounts that expired yesterday

    Can anyone provide a script or some links for searching AD for all accounts that expired yesterday? Once I have these accounts I have a script that will disable / move the account to a specified OU. Thanks Edit - I can get the expiry date and then use the following code to change it to a...
  2. chrisuk11

    Changing DN to just show the CN using function

    I have written a function that will take a DN and only output the CN. This works fine, however when I add this to my main script (It pulls back usernames of users who have an expiry date) I get error - Invalid Use of Null Please be aware I am new to scripting so the script my not follow the...

Part and Inventory Search

Back
Top