Original version of DailySnapshot.ps1