If 'common' is not specified, it is not included

If 'common' is not included, it is unchecked when viewing in the GUI
This commit is contained in:
Joshua Post
2021-05-24 14:45:14 -05:00
parent 9519635847
commit e872cc50d1

View File

@@ -319,9 +319,9 @@ Function New-VCSASchedule {
$CreateSpec.recurrence_info.Days = $BackupDays
$CreateSpec.retention_info.max_count = $MaxCount
if ($IncludeSeat) {
$CreateSpec.parts = @("seat")
$CreateSpec.parts = @("seat","common")
} else {
$CreateSpec.parts = @()
$CreateSpec.parts = @("common")
}
$CurrentSchedule = $BackupAPI.list()