Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Hey, Scripting Guy! How Can I Parse My Firewall Log File to See What Kind of Packets Are Being Sent?

(image) Hey, Scripting Guy! I would like to parse the firewall log on my computer and find out the kinds of packets that are going out. You know, how many Web page packets, how many DNS lookups, how many pings. That kind of stuff. I figure that I can look at these logs and pick up diagnostic information. For example, if I see a bunch of DNS ...

Hey, Scripting Guy! How Can I See Which Packets Are Being Dropped by Windows Firewall?

(image) Hey, Scripting Guy! I love the Windows Firewall. I think it is really cool. The fact that it is a low-maintenance tool is sweet, but every once in a while, I would like to look over the log files and see what is going on. In particularly, I want to know about what packets are being dropped by the firewall. Can you help me?- DC(image...

Hey, Scripting Guy! How Can I Use Windows PowerShell to Determine the Owner of a File?

(image) Hey, Scripting Guy! Is it possible to determine the owner of a file using Windows PowerShell?-- GF(image) (image) (image) Hey, GF. Well, today is April 15th, which, in the US, can mean only one thing: it’s time to celebrate the birthday of Italian mathematician Pietro Antonio Cataldi, best known for discovering the sixth and ...

Hey, Scripting Guy! How Can I Retrieve a List of Unique Users from the Security Event Log?

(image) Hey, Scripting Guy! How can I retrieve a list of unique users from the Security event log?-- KM(image) (image) (image) Hey, KM. Before we tackle your question we should probably address a question sent in by another reader: Hey, Scripting Guy! Whatever happened to Monday? Having been gone on vacation all last week, I was ...

How Can I Set a User’s Password and Then Require Them to Change That Password the Next Time They Log on?

(image) Hey, Scripting Guy! In our school, how can I enable teachers to change a student’s password to their logon name, then force those students to change their password the next time they log on?-- DS(image) (image) (image) Hey, DS. Boy, did you pick the wrong person to ask. After all, the Scripting Guy who writes this column used to be...