Scripting Blog [archived]

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

Use PowerShell to Create ZIP Archive of Folder

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a .zip archive of a folder. (image)  Hey, Scripting Guy! I need a way to create a .zip archive of a folder. I would like to do this on my laptop running Windows 8.1, and I do not want to install any other software. Can I do this? —TR (...

Weekend Scripter: Use PowerShell to Create Folder

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create folders. Microsoft Scripting Guy, Ed Wilson, is here. I am not a huge fan of using a mouse. In fact, the more things I can do from Windows PowerShell the better. It is a huge waste of time for me when I have to remove my hands from the keyboard, chase ...

List Files in Folders and Subfolders with PowerShell

Summary: Use Windows PowerShell to list files in folders and subfolders. (image)  Hey, Scripting Guy! I am an old VBScript guy. I love using VBScript, and I have done so for nearly 15 years. One reason I love VBScript so much is that, to me, it is easy to use. It is also very powerful. But after attending TechEd the last several years, it...

Use PowerShell to display Short File and Folder Names

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to display short file and folder names. (image)  Hey, Scripting Guy! I need to be able to use Windows PowerShell to show short folder and file names. In the old days, I could see short file and folder names in the CMD prompt, but these days when I am using ...

Don't Translate File and Folder VBScript Scripts into PowerShell

Summary: Simplify your code and do not translate an old file and folder VBScript script into Windows PowerShell. (image)  Hey, Scripting Guy! I know there are not really established patterns and practices for writing VBScript code, or even for writing Windows PowerShell script. But there is code that I like to use—over and over ...