arnaudluti / PS-LogonAudit

Find out on which workstation specified accounts are used

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Get logon logs from your DCs, identify the workstations where accounts logs on
Extract a .csv with account / workstation / date in the working directory.

Preview

Running

preview

CSV extracted

preview

Prerequisites

  1. Active directory powershell module (installed with AD RSAT)
  2. Success logon audit activated on your DCs, see :
    https://support.microsoft.com/en-us/help/556015, Option 1, part 1.
    (You can increase the 'security' eventlog size on your DCs, to get more events)

How-to

  1. Fill-up the $accounts list with the domain accounts you want to search for
  2. Run the script

About

Find out on which workstation specified accounts are used

License:GNU General Public License v3.0


Languages

Language:PowerShell 100.0%