Jason Helmick, Senior Technologist at Concentrated Tech andWindows PowerShell MVP, gave a presentation on Understanding the Pipeline Getting your one-liners to work! A copy of his script can be found here.
We are still trying to arrange for a PowerShell Saturday sometime in 2014, if you are interested in presenting please let us know!
We are assigning homework this week! Hopefully this will be a fun task that we can discuss during our next meeting, so try your hand at the following problem:
Title: On This Day in Pictures
Description: You have folder of photos on your computer that you take with your Smartphone or digital camera. From time to time you want to be reminded of the cool and interesting things you snapped photos of years before on this day. Being a PowerShell scripter you imagine that PowerShell would be a quick and easy tool for exploring your photos meta-data to re-discover some fun memories you had by emailing yourself some pictures you took on this same day last year or any year before. You decide to format the email as HTML including the pictures and some data about them. Finally, using the task scheduler to set your script to run every morning so you can take a trip down memory lane with your photos on this day in history. As a PowerShell scripter you roll up your sleeves and get to work.
- Your script should look into a directory that may contain sub folders for image files (you may want to support .jpg, .jpeg, .png, etc.).
- The script should then determine the date a photo was taken. Examining the EXIF meta-data might be handy.
- Get the date the script runs and find all the photos taken on the same day other than the current year.
- Finally send an email containing the photos taken on this day in history