Use PowerShell - Get last logon of computers in domain

preview_player
Показать описание
Use PowerShell - Get last logon of computers in domain

1. Prepare

2. Step by step : Using PowerShell get last logon of computers

- DC21 : Get last logon of computers in domain

+ Windows PowerShell :

+ Get-ADComputer -Filter * -Properties * | Sort LastLogonDate | FT Name, LastLogonDate -Autosize

=== Get last logon of computers

=== Export to .txt file
Рекомендации по теме
Комментарии
Автор

how can i tell who logon to those computers?

AndrewL
Автор

Can we import the computer names and get names for only those, using powershell please reply

issact
Автор

how does one do this for just one computer

returnofthemac