logon

PowerShell: Get-ADComputer to retrieve computer last logon date – part 1

Submitted by admin on Tue, 08/11/2020 - 08:49

I’ve written about Get-ADUser several times already to find out Active Directory user information, but in this post we’ll be using Get-ADComputer to find out the last logon date for the computers in Active Directory.

As computers are retired or fail and are replaced how often do admins remember to remove the computer accounts from Active Directory?

Tags