Tag Archives: Files

Renaming Files with PowerShell

I am not a big fan of file names with spaces. I realize they are easy to read and obviously much more “natural”, but they are simply a royal pain to deal with, especially when working from a command prompt … Continue reading

Posted in PowerShell v2.0, Scripting | Tagged , , , | Leave a comment

Get File Utilization by Extension

In the past I’ve posted a few PowerShell functions that provide all types of file and folder information. The other day I had a reason to revisit one of them and I spent a little time revising and expanding. This … Continue reading

Posted in PowerShell v2.0, Scripting | Tagged , , , , , , | 1 Comment

Content Redirection

Here’s another item I see in some submisstions of the 2010 Scripting Games that I felt I should address: the use of legacy console redirection. While technically not illegal or wrong, an example like this demonstrates (at least in my … Continue reading

Posted in Best Practices, PowerShell v2.0 | Tagged , , , , | 1 Comment

PModem and Folder Listings

PowerShell MVP Oisin Grehan posted a very promising PowerShell module the other day. He calls it the PModem File Transfer Protocol. It is based on the old bulletin board file transfer protocols of the late 20th century, which I have … Continue reading

Posted in CommandLine, MVP, PowerShell v2.0 | Tagged , , , , , , , | Comments Off