Scripting Blog [archived]

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

Weekend Scripter: Use PowerShell to Display Process Name and Uptime

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a custom table that displays the process name and uptime. Microsoft Scripting Guy, Ed Wilson, is here. Sometimes it seems as if the Scripting Neighbors are crazy. Yep, it is early on a Saturday morning, and at least one of my neighbors is outside mowing...

Use PowerShell to Explore Process Threads in Windows

Summary: Microsoft Scripting Guy talks about using Windows PowerShell to explore process threads in Windows. (image)  Hey, Scripting Guy! I have a problem. On our system, every once in a while, we have this application where the threads go crazy. I need an easy way to check threads. Can you help? —BC (image)  Hello BC, ...

Use PowerShell to Duplicate Process Tokens via P/Invoke

Summary: Guest blogger, Niklas Goude, shows how to use P/Invoke to duplicate process tokens from LSASS to elevate privileges. Microsoft Scripting Guy, Ed Wilson, is here. Today we have Part 4 of our five part security series written by guest blogger, Niklas Goude. Niklas Goude is a Security Consultant at TrueSec and an MVP in Windows ...

PowerShell Community and the Windows System Administration Tool

Summary: See how guest blogger, Rich Prescott, leveraged the Windows PowerShell community as he built his popular ArPosh Client System Administration tool. Microsoft Scripting Guy, Ed Wilson, is here. We are really starting the new year off correctly. We have another very strong guest blogger today. Rich Prescott, is currently working as an ...

Learn How to Save PowerShell Objects for Offline Analysis

Summary: Learn how to use Windows PowerShell to save objects for later offline analysis.   (image) Hey, Scripting Guy! I have a problem. I am trying to examine processes that are consuming resources on my computer. The problem is that when I use the Get-Process cmdlet, my results keep changing before I have a chance to examine thoroughly ...