Aug 28, 2017

In The Trenches: PowerShell User Account Logon Activity Script

We all have systems to audit, track and report on to ensure only approved user accounts are logging into company resources. One of my favorite, and quick, ways to check the number of user accounts and user account activity is to check the “LastLogon” attribute in Active Directory via PowerShell.  This also helps you identify any old accounts that have yet to be cleaned up.  Well…..and a reminder of that service account with the interesting name.

The Script

There are many examples of PowerShell scripts to get this attribute. However, not all examples I have come across work correctly and some only cover the “Get-ADuser $UserName -Properties Lastlogon” for a single user, not an entire organization.

What if you have multiple DCs? The script below looks at all domain controllers and organizes the data into a three column report giving you valuable insight to your user account activity.script1 Modified by: Luke Truan

Security Awareness Training: Could you Spot the Spoof?

With the PowerShell script above, did you find some unexpected results or user accounts that you had forgot about?  A new security breach happens more times in a day than most realize.  Now is the time to be more engaged with all of the user accounts in your organization.  How likely is it that any one of these accounts will be a part of a system or network breach?

If you have trouble answering that question, you are not alone.  It’s not a question of IF, but WHEN will someone interact with an email, webpage, or plug in a USB drive that puts your systems and network at risk.  With security awareness training you can keep everyone educated on how to spot the red flags, spoofed email address, spoof domains, landing pages and more.  You can quickly gain insight on which groups and user accounts are most susceptible to a social engineering attack. Data is organized into easy to read visual dashboards and reports.

Schedule a call  with a Headwaters Group engineer today to find out more .

Filed Under: Consulting

Latest News

In The Trenches: PowerShell User Account Logon Activity Script

We all have systems to audit, track and report on to ensure only approved user accounts are logging into company resources. One of my favorite, and quick, ways to check the number of user accounts...[Read More...]

APTARE: IT Analytics-As-A-Service Pricing Guide

If unified visibility, capacity planning, utilization and chargeback for storage and backup are on your radar, then this pricing and features guide is a must see.  Delivered as a suite of...[Read More...]

2018 IT Outsourcing Decision Guide: For Companies With 51-200 Employees

If you’re trying to run a business with more than 50 employees AND manage your IT, it’s time to consider outsourcing the latter.  Here is why... These days, IT-related downtime can have a...[Read More...]

What Our Customers Say

Concierge Practice Managers

“Headwaters Group is my go to services partner and my first choice in nearly every situation.” Insight Practice Director