→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
04-24-2024 12:29 AM - edited 04-24-2024 12:37 AM
I would like to create a report that includes the active directory computer attributes "whenCreated". I can find it under the active directory user attributes (tblADusers.whenCreated) but not for computer (tblADComputers.whenCreated). Is this possible to do so we can see when our computers were first installed?
04-24-2024 05:39 AM
Try this:
Select Distinct Top 1000000 tblassets.AssetID,
tblassets.AssetName,
tblassets.OScode,
tblassets.Userdomain,
tblassets.Username,
tblOperatingsystem.Caption,
tblOperatingsystem.InstallDate,
tblassets.Firstseen,
tblassets.Lastseen
From tblassets
Left Join tblOperatingsystem On tblassets.AssetID = tblOperatingsystem.AssetID
Order By tblOperatingsystem.InstallDate Desc
04-24-2024 03:45 PM - edited 04-24-2024 03:50 PM
Thanks, this is a solid script. I should have mentioned that we image our computers. If we ran a report to assess the operating system install date we would have the same date for all the computers that were using the same image.
Does anyone know if Lansweeper even scans the AD Computers attributes like tblADComputers.whenCreated? Can I create a custom scan to include tblADComputers.whenCreated?
04-24-2024 06:07 PM
If you prepare image with sysprep then you will have current install date.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now