/PS-LogonAudit

Find out on which workstation specified accounts are used

Primary LanguagePowerShellGNU General Public License v3.0GPL-3.0

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