I am currently trying to set a retention policy for scheduled backup with Azure Backup via PowerShell. I can easily create a new retention policy for every backup with the New-OBRetentionPolicy cmdlet.
The problem is that I can't find any way for daily, monthly and yearly retention as seen in Microsoft Azure Backup Agent. Is there any way to do it with PowerShell?