PhillyPoSH 12/05/2013 meeting summary and presentation materials

  1.  Sunny Chakraborty gave an in-depth presentation on WMI Eventing using PowerShell. A copy of his presentation and scripts can be found here, and a recording of his presentation can be found on our YouTube channel. If you want to learn even more about WMI, Sunny recommends checking out Alain Lissoir's webpage and downloading he WSH and VBS scripts hosted on his site for the two books he was written: "How to exploit the power of Microsoft's WMI to create mission-critical computing infrastructures" and "Leveraging Windows Management Instrumentation (WMI) Scripting"
  2. Announcements:
      1. January's meeting will be on the 2nd Thursday (01/09/2014) of January as opposed to the       1st
      2. Since we didn't get to last months homework assignment we are pushing it to January's meeting. Here it is again and hopefully this will be a fun task that we can discuss during our next meeting:

    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 photo's 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.

    Requirements:

    1. Your script should look into a directory that may contain sub folders for image files (you may want to support .jpg, .jpeg, .png, etc.).
    2. The script should then determine the date a photo was taken. Examining the EXIF meta-data might be handy.
    3. Get the date the script runs and find all the photos taken on the same day other than the current year.
    4.  Finally send an email containing the photos taken on this day in history*

About the Author

John Mello

IT professional. Tech, video game, anime, beer, and punk aficionado.