开发者

Get All Computers LastLogon from All Computers in a Forest

There is a forest, and I need to compile a list of inactive users / computers across the entire enterprise. Since the enterprise has D开发者_如何学GoCs all over the world, there are many DCs. Do I need to query each DC, pull the accounts in existence along with lastlogon attribute, and then run the resulting file through a quicksort keeping only the lowest values for each unique account? Or, can I query a central location to determine inactivity?

I read that LastLogon is not replicated, and this is why I am asking. I cannot use lastLogonTimeStamp as it is being run against a W2K system.


You could use the lastLogonTimeStamp attribute instead, which does get replicated. Using this attribute over a forest is only accurate when the value is more than 14 days old.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜