Scripting Blog

A place to learn about PowerShell and share stories of automation

Learn Four Ways to Use PowerShell to Create Folders

Summary: Microsoft Scripting Guy, Ed Wilson, shows four ways to create folders with Windows PowerShell, and he discusses the merits of each approach.  Hey, Scripting Guy! I am trying to find the best way to create a new folder while using Windows PowerShell. I have seen many ways of creating folders in scripts that I have run across on ...

The Easy Way to Use PowerShell to Work with Special Folders

Summary: Microsoft Scripting Guy Ed Wilson shows the easy way to use Windows PowerShell to work with the paths to special folders.  Hey, Scripting Guy! I notice that in lots of your sample scripts, you often use a folder named FSO, and it appears off of your C: drive. Why do you do this? Is creating an FSO folder really a best practice? &...

Use PowerShell and ASCII to Create Folders with Letters

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell and ASCII characters to automatically create folders with letters in the name. Microsoft Scripting Guy, Ed Wilson, is here. I recently had a discussion with June and Kim, two of the other Windows PowerShell writers on my team, about creating some training for ...

Use PowerShell to Easily Organize Your Music Collection

Summary: Microsoft Scripting Guy, Ed Wilson, teaches you how to use Windows PowerShell to organize your music collection for ease of playback on Windows. Microsoft Scripting Guy, Ed Wilson, is here. I love the weekend. In general, it is a time for me to explore and to experiment with Windows PowerShell. These experimentation sessions quite ...

Easily Compare Two Folders by Using PowerShell

Summary: Microsoft Scripting Guy Ed Wilson illustrates how to compare two folders by using Windows PowerShell.   Microsoft Scripting Guy Ed Wilson here. It is an absolutely beautiful day in Charlotte, North Carolina. The early morning rain gave way to a colorful rainbow. My manager bought me a new laptop, and I have been busy working on ...