To find a single machine and the date it last logged on Get-ADComputer -identity SRV-DB01 -Properties * | FT Name, LastLogonDate -Autosize Find all the machines Get-ADComputer -Filter * -Properties * | FT Name, LastLogonDate -Autosize Share this: Share on Facebook (Opens in new window) Facebook Share on Threads (Opens in new window) Threads Share on Pinterest (Opens in new window) Pinterest Share on Reddit (Opens in new window) Reddit Share on Bluesky (Opens in new window) Bluesky Share on Mastodon (Opens in new window) Mastodon Share on X (Opens in new window) X Like this:Like Loading…