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 Mike Lewis 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. chrisuk11

    Deleting a file but permissions denied error

    I would do a test with the above script, but change the source and destination to my documents. I had a similar issue, tried amending the script and nothing. Tested it in My documents and it worked. So my issue was due to permissions / UAC and not the actual script. Also when deleting, I...
  2. chrisuk11

    Search AD for accounts that expired yesterday

    thanks for the response. Will try give it another go this week and see how I get on!
  3. chrisuk11

    Search AD for accounts that expired yesterday

    anyone? :)
  4. 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...
  5. chrisuk11

    Changing DN to just show the CN using function

    Have fixed this now. Sorry for the waste of time :) Thread can be closed
  6. chrisuk11

    Changing DN to just show the CN using function

    Hi, Thanks for the responses. It was vbscript and I managed to figure out the issue. It was because some Users did not have a manager set, hence the value was null and I hadn't determined what the script should do with this. Though I now have a new problem - The script now removes all groups...
  7. 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