You ever want to collect a random holiday to spice up your report? No? Really? Just me? Whatever.
In Action:
How it works. Based on the website “Checkiday.com”, the script grabs their RSS in XML format,(after confirming it can connect) digs through it and returns all of the different events for that day into $EventNames”
From there, I count the items, then have PowerShell pick a number between 0 & the total number of “Holidays” that are in that variable, and place it into $EventPicked”
Script: https://github.com/gwblok/garytown/blob/master/RandomHoliday.ps1
Unsure if you have any use for this, but thought it was at least fun.
GARYTOWN