?
Solved

PowerShell script to identify users

Posted on 2014-07-18
4
Medium Priority
?
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
duncanb7 earned 2000 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

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

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

Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

719 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