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:
@@ -319,9 +319,9 @@ Function New-VCSASchedule {
|
|||||||
$CreateSpec.recurrence_info.Days = $BackupDays
|
$CreateSpec.recurrence_info.Days = $BackupDays
|
||||||
$CreateSpec.retention_info.max_count = $MaxCount
|
$CreateSpec.retention_info.max_count = $MaxCount
|
||||||
if ($IncludeSeat) {
|
if ($IncludeSeat) {
|
||||||
$CreateSpec.parts = @("seat")
|
$CreateSpec.parts = @("seat","common")
|
||||||
} else {
|
} else {
|
||||||
$CreateSpec.parts = @()
|
$CreateSpec.parts = @("common")
|
||||||
}
|
}
|
||||||
$CurrentSchedule = $BackupAPI.list()
|
$CurrentSchedule = $BackupAPI.list()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user