Scripting Blog

A place to learn about PowerShell and share stories of automation

Use PowerShell to Archive a Folder and Copy to Server

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a .zip archive folder and copy it to a server.  Hey, Scripting Guy! I have a folder that contains scripts. I update these scripts from time-to-time. I like to store the scripts on a central shared server. To save bandwidth, I would like to zip the ...

Use PowerShell to Create Archive and Send Email

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to create a .zip archive and email it.  Hey, Scripting Guy! I have a number of files that I would like to archive on a regular basis to a .zip file. I need to email that .zip file as an attachment. I do this every week, and it takes me like nearly 15 minutes ...

Use PowerShell to Extract Zipped Files

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to extract zipped files.  Hey, Scripting Guy! I need to be able to work with zipped files from time-to-time. Often I store files in a zip archive so they are portable. I know how to copy the .zip archive from one place to another with Windows PowerShell, but I ...

Use PowerShell to Zip Multiple Folders

Summary: Use Windows PowerShell to create a .zip archive of multiple folders.  Hey, Scripting Guy! I need to compress multiple folders before I attempt to archive them. I would like to do this without having to install additional software. Can you help? —DR  Hello DR, Microsoft Scripting Guy, Ed Wilson, is here. This afternoon ...

Feedback usabilla icon