Posts Tagged ‘Trace’


PrimalScript 2012: What’s new? (Part 6)

Monday, May 7th, 2012 by Alex Riedel
VBScript users have told me on occasion that they are really jealous of one feature of PowerShell: Write-Debug Depending on the value of $DebugPreference this produces output when needed but makes it easy to silence diagnostic output once a script moves to production. VBScript and JScript developers have to sprinkle WScript.Echo calls through their code and then go and comment them out before handing the script off. In a large script with hundreds or even thousands of lines that can be a daunting and error prone task. You don't want to disable real output and not forget any diagnostic output.…   More »


Thursday, July 10th, 2008 by Jeffery Hicks
A few days ago I blogged about packet sniffer PowerShell script. Needless to say I was intrigued and spent some time dissecting to better understand it. Don't worry, no PowerShell scripts were harmed during this operation. This is a nifty piece of PowerShell coding. Of course I'm never one to leave well enough alone so I had to add a few touches which I hope the original author doesn't mind.   More »

Powershell: IP Packet Sniffer Script

Thursday, July 3rd, 2008 by Jeffery Hicks
I came across a wicked PowerShell script (Trends in Technology: Powershell: IP Packet Sniffer Script ) that is essentially a PowerShell packet sniffer. How cool is that! It certainly won't replace full blown sniffers like WireShark but I love having a PowerShell window open watching packets. Yea, I need to get out more.   More »