private static List<DayOfWeek> ConvertToPowershellWeekDaysList(CSMWeeklyRetentionFormat csmWeekNumberList)
 {
     List<DayOfWeek> dayOfWeekList = new List<DayOfWeek>();
     foreach (DayOfWeek dayOfWeek in csmWeekNumberList.DaysOfTheWeek)
     {
         dayOfWeekList.Add(dayOfWeek);
     }
     return dayOfWeekList;
 }
 private static List<WeekNumber> ConvertToPowershellWeekNumberList(CSMWeeklyRetentionFormat csmWeekNumberList)
 {
     List<WeekNumber> weekNumberList = new List<WeekNumber>();
     foreach (WeekNumber weekNumber in csmWeekNumberList.WeeksOfTheMonth)
     {
         weekNumberList.Add(weekNumber);
     }
     return weekNumberList;
 }