Scripting Blog [archived]

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

Hey, Scripting Guy! Windows PowerShell and Pipelining

(image) Hey, Scripting Guy! I have seen you refer to this term pipeline many times since you started writing Windows PowerShell articles. What is up with that? Why don't you just store things in a variable and then walk through the contents of the variable when you are working with Windows PowerShell? This is the way that we did it in ...

Hey, Scripting Guy! Windows Powershell: An Introduction

(image) Hey, Scripting Guy! Your Windows PowerShell articles have been real interesting, and I have been fascinated by the things you can do. But I need you to start at the beginning. It all looks real confusing to me. How about it? - TD(image) (image) Hi TD, You know things are only confusing when you do not understand them. We remember ...

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 Convert a Tab-Delimited File to a Comma-Separated Value File?

(image) Hey, Scripting Guy! I have this tab-delimited file that was produced by a report from an old database application. All it knows how to do is make a tab-delimited file. I hate this format, and our other applications do too. I have been opening the thing in Notepad and trying to find and replace tabs with commas, but Notepad does not ...