Forum Discussion

gnelson's avatar
gnelson
Novice I
4 years ago

Hello all. I am testing editing replication schedules

Hello all. I am testing editing replication schedules via the powershell SDK, and while I found the cmdlet New-Pfa2ReplicationScheduleObject it doesn't seem to have a way for me to apply it to an existing protection group. Update-Pfa2ProtectionGroup doesn't have a -ReplicationSchedule parameter. There is a way to update a blackout period for replications, but not the schedule itself. Am I missing something simple?
  • Hi Greg (great last name BTW). The SDK v2 was released last fall in parity with API 2.2 which did not have the ability to set replication schedule. The next version of v2, which is due out in summer, will have parity up to API 2.13+ and it will have this endpoint ability. For now, I would suggest using the SDK v1 Set-PfaProtectionGroupSchedule to set replication schedule.
  • craig.dayton1 is correct that you could also use the SDK v2 cmdlet Invoke-Pfa2CliCommand to set the schedules set as well using the `purepgroup` command. More information on that command can be found by doing a `purepgroup -h` or `pureman purepgroup` at the CLI prompt.