Scripting Blog [archived]

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

Weekend Scripter: Use PowerShell to Clean Out Temp Folders

Summary: Guest blogger, Bob Stevens, talks about using Windows PowerShell to clean out temporary folders on desktops following a malware infection. Microsoft Scripting Guy, Ed Wilson, is here. Today, we welcome back our newest guest blogger, Bob Stevens. Yesterday Bob wrote about a quick script that he developed to pick out comments from a ...

Weekend Scripter: Pick Comments from a PowerShell Script

Summary: Guest blogger, Bob Stevens, shares a script to pick out comments from a Windows PowerShell script. Microsoft Scripting Guy, Ed Wilson, is here. Today we have a new guest blogger, Bob Stevens. I made Bob’s virtual acquaintance recently when I did a Live Meeting presentation to the Twin Cities PowerShell User Group. Here is Bob&...

PowerTip: Determine the Status of Your DHCP Server Audit Log

Summary: Use Windows PowerShell to determine the status of your DHCP server audit log. (image)  How can I use Windows PowerShell to determine the status of my DHCP server audit log in Windows Server 2012? (image)  Use the Get-DHCPServerAuditLog cmdlet and specify the server name: Get-DhcpServerAuditLog -ComputerName DHCP1 &...