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 Chris Miller 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: *

  1. BiggerDave

    SQL Statment Help

    I am writing a search statment as follows Select * SD9 where "Test Start Date"='T1' T1 is a text Box that sits on another Web Page, how do i point the statment to this Text Box on another http page ??? I want people to enter the date they wish to search Thanks
  2. BiggerDave

    Disable AD accounts usind sAMAccountName

    I have come up with this script but it wont seem to disable a user account, not sure where i am going wrong can you take a look??? '========================================================== 'Script to Disable User Accounts ' 'Required to disable Old User Accounts ' 'Author: ' 'Created...
  3. BiggerDave

    Disable AD accounts usind sAMAccountName

    Ok I cant seem to get this to work, how about a basic script to get the Common Name from the sAMAccountName and export output to a text file....
  4. BiggerDave

    Disable AD accounts usind sAMAccountName

    Ok I can get this script to find a sAMAccountName, however I cant get it to Process a list of accounts from a file.. Can you see where I am going wrong???? On Error Resume Next Const ADS_SCOPE_SUBTREE = 2 Set objConnection = CreateObject("ADODB.Connection") Set objCommand =...
  5. BiggerDave

    Disable AD accounts usind sAMAccountName

    Hi, I have found a script that will disable using the Common Name, however i am a total begginer when it comes to this stuff and dont have a clue how to tweak it to use the sAMAccountName... Script is as follows ' This VBScript code will disable a user object ' and move it to a new OU...
  6. BiggerDave

    Disable AD accounts usind sAMAccountName

    I need a script to disable users in AD by there sAMAccountName, also I want it to reference a txt file that contains the list of sAMAccountNames.. Please Help

Part and Inventory Search

Back
Top