Categories
Microsoft

Active Directory Powershell Last Login Date

PS C:\> get-adcomputer -Filter 'Name -like "$COMPNAME_HERE*"' -Properties lastlogondate | select name,lastlogondate

Leave a Reply

Your email address will not be published. Required fields are marked *