I have a task: To make a list of all computer accounts in an NT 4 domain and flag them as active or inactive.
I have a script that I ran once a day at different times that gives me this output and then put in into a SQL database and any computer account that has an active for any read will not get nuked. The script takes 6 hours to complete. Is there some property that Hyena uses to determine if an account is online or not? I know the greyed out ones are "offline" How do you determine if the commputer is offline and are able to refresh this so fast. I do not know of any ADSI property that has this.
I have a script that I ran once a day at different times that gives me this output and then put in into a SQL database and any computer account that has an active for any read will not get nuked. The script takes 6 hours to complete. Is there some property that Hyena uses to determine if an account is online or not? I know the greyed out ones are "offline" How do you determine if the commputer is offline and are able to refresh this so fast. I do not know of any ADSI property that has this.
Comment