I am trying to get all the Computer information from Active Directory and save them in SQL Server database.
The information to pull from AD are as below
Last user who logged in
Last Login time
Last Logout Time
Please help me accomplish this task.