Jump to content

Auto Populate AD Computer Description With Last User Logged On, Serial Number,...


Recommended Posts

Posted
@sted

 

Thanks for the info and a very handy script. :thumb:

 

thats why i wrote it saves a lot of time running round inventorying everything and it updates itself

 

at least this version i can see what i did the erlier versions were awful code in random, places uncommented in the end i gave up and started again it was less painful than fixing it lol

Posted
Also does the logs folder need sharing on the server as logs$.

 

it makes no odds as long as it exists and has appropriate permissions thats just where i dump the output

Posted

*me being thick here*

 

Before I go trial and error to find out the best way, is this script designed to be run as a Startup or Logon? I'm kind of guessing both given the fact it will want to update the AD details as a system account?

 

:cool:

Posted
startup would be my prefered method that way as long as a pc is turned on now and again it will log the details no real point doing it based on users as that just means you need to give them rights to parts of ad you might not want them to have. I do somewhere have a script for users that adds the last pc they logged into to the office (iirc) field of their ad account
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...