Solved

PowerShell script to identify users

Posted on 2014-07-18
4
227 Views
Last Modified: 2014-07-24
Server 2003, PowerShell v1

Looking for a PowerShell script to identify 'users' that are in the event log for Security. I want to parse out services, computers, etc.
0
Comment
Question by:xmouser
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
duncanb7 earned 500 total points
ID: 40207127
Try ths for  accountname , Peter
Get-EventLog –log  Security | Where {$_.message –match "Account Name:Peter”}
and  Take a look for Powershell Get-EventLog manual from Microsoft at
http://technet.microsoft.com/en-us/library/hh849834.aspx

Hope understand your question completely.If not, please point it out

Duncan
0
 

Author Comment

by:xmouser
ID: 40208695
I'll check today, thanks.
0
 

Author Comment

by:xmouser
ID: 40208698
My apologies, I need a PS that will identify 'users' (people) not a specific person. I'm trying to track log ins and I want to look for new names.
0
 
LVL 13

Expert Comment

by:duncanb7
ID: 40217424
Thanks for your points

Have a nice day

Duncan
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question