Currently, if you do the -IncludeRetentionInfo parameter with Get-VmsCameraReport, the value can be misleading if there are Evidence Locks. For example, if the retention is set to 30 days but you have an Evidence Lock on video that is 97 days old, the retention value in Get-VmsCameraReport will say 97 days.
The APIs currently don't allow an easy way to just say "give me all the video, except for Evidence Locks". If would be nice to see if there is an "inexpensive" way to determine the duration, not including Evidence Locks so the value is more accurate.