Have a question about the project? Please write it down under!
IsDailyEnabled = $policy.RetentionPolicy.IsDailyScheduleEnabled
DailySchedule = if ($policy.RetentionPolicy.DailySchedule) { ($policy.RetentionPolicy.DailySchedule.RetentionTimes -join ", ") } else { $null }
DailyRetentionDays = if ($policy.RetentionPolicy.DailySchedule) { $policy.RetentionPolicy.DailySchedule.DurationCountInDays } else { $null }
IsWeeklyEnabled = $policy.RetentionPolicy.IsWeeklyScheduleEnabled
WeeklySchedule = if ($policy.RetentionPolicy.WeeklySchedule) { ($policy.RetentionPolicy.WeeklySchedule.RetentionTimes -join ", ") } else { $null }
WeeklyRetentionWeeks= if ($policy.RetentionPolicy.WeeklySchedule) { $policy.RetentionPolicy.WeeklySchedule.DurationCountInWeeks } else { $null }
IsMonthlyEnabled = $policy.RetentionPolicy.IsMonthlyScheduleEnabled
MonthlySchedule = if ($policy.RetentionPolicy.MonthlySchedule) { ($policy.RetentionPolicy.MonthlySchedule.RetentionTimes -join ", ") } else { $null }
MonthlyRetentionMonths = if ($policy.RetentionPolicy.MonthlySchedule) { $policy.RetentionPolicy.MonthlySchedule.DurationCountInMonths } else { $null }
IsYearlyEnabled = $policy.RetentionPolicy.IsYearlyScheduleEnabled
YearlySchedule = if ($policy.RetentionPolicy.YearlySchedule) { ($policy.RetentionPolicy.YearlySchedule.RetentionTimes -join ", ") } else { $null }
YearlyRetentionYears= if ($policy.RetentionPolicy.YearlySchedule) { $policy.RetentionPolicy.YearlySchedule.DurationCountInYears } else { $null }
RSVName = $vault.Name
RSVResourceGroup = $vault.ResourceGroupName
RSVRedundancy = $vault.Properties.StorageType
CrossRegionRestore = $vault.Properties.CrossRegionRestore
Immutability = $vault.Properties.ImmutabilityState
I tried to get these added using co-pilot However the code is not working on sandbox subscription. Please let me know if you can include all these above parameters to ensure that the report is compliant as the Data Protection Policies of the HIPAA standards set by the Organization.
Have a question about the project? Please write it down under!
IsDailyEnabled = $policy.RetentionPolicy.IsDailyScheduleEnabled
DailySchedule = if ($policy.RetentionPolicy.DailySchedule) { ($policy.RetentionPolicy.DailySchedule.RetentionTimes -join ", ") } else { $null }
DailyRetentionDays = if ($policy.RetentionPolicy.DailySchedule) { $policy.RetentionPolicy.DailySchedule.DurationCountInDays } else { $null }
I tried to get these added using co-pilot However the code is not working on sandbox subscription. Please let me know if you can include all these above parameters to ensure that the report is compliant as the Data Protection Policies of the HIPAA standards set by the Organization.