Scripting Blog [archived]

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

Optimize PowerShell Code?

Summary: Microsoft Scripting Guy, Ed Wilson, talks about optimizing Windows PowerShell code. Microsoft Scripting Guy, Ed Wilson, is here. I was looking at my Windows Phone this morning and I noticed that today is Friday the 13th. What seemed a bit strange to me is that I thought there was also a Friday the 13th last month. I then became ...

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. (image)  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 ...

Use PowerShell to Extract Zipped Files

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to extract zipped files. (image)  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...