Gets the current backup policy set for the server.
The Get-OBPolicy cmdlet gets the current backup policy that is set for the server, including the details about scheduling backups, files included in the backup, and retention policy.
Once the changes have been made to the policy object, the updated policy should be set as the current one using the Set-OBPolicy cmdlet.
To use Microsoft Azure Backup cmdlets, the user needs to be an administrator on the protected machine.
This example returns a saved policy.