Scripting Blog

A place to learn about PowerShell and share stories of automation

Working Around Legacy Redirection Issues with PowerShell

Summary: Microsoft MVP Sean Kearney teaches a cool trick to work around legacy redirection issues in Windows PowerShell.   Weekend Scripter: Legacy Man Strikes Again Microsoft Scripting Guy Ed Wilson here. Once again, Microsoft PowerShell MVP Sean Kearney has been writing some guest blog posts. He continues with his thoughts on legacy and...

Use PowerShell to Clear All Logs

Summary: Learn how to use Windows PowerShell to check disk space used by logs, and to clear those logs to reclaim space.   Microsoft Scripting Guy Ed Wilson here. One of the things I found as I was researching ways to enable and to disable the ETW trace logs is that a seemingly large number of people wanted a way to clear out all the logs...

Automatically Enable and Disable Trace Logs Using PowerShell

Summary: Use Windows PowerShell to automatically enable and disable trace logs.   Hey, Scripting Guy! Your articles have been right on target—they hit me where I live. I am wondering if I could actually automate some of this? Suppose I am trying to install software using WMI, and I would like to see the log entries you talked about ...

Use PowerShell to Troubleshoot Software Installation

Summary: Use Windows PowerShell to troubleshoot software installation.   Hey, Scripting Guy! I am having a problem troubleshooting the installation of an MSI package. I am using Group Policy to deploy the MSI package, and on some computers, it seems to work, but on other computers it fails. After having read your most recent series of ...

Feedback usabilla icon