I am trying to use the pstools to retrieve how many hours were actually recorded on a specific camera, not the amount of space. Is there a way to achieve this?
I believe you are looking for - https://www.milestonepstools.com/commands/en-US/Get-CameraRecordingStats/
thank you for this it works great. one last question is there a way to include storage space used?
Get-CameraRecordingStats -Id “” -StartTime “2025-02-11T00:00:00” -EndTime “2025-02-12T00:00:00” | Format-List this is what i have so far that i have working
In Milestone, recording sequences (when data is recorded) and storage (where and how much data is recorded) are distinct domains, sourced from different internal systems. Consequently, storage information is not accessible via Get-CameraRecordingStats. For alternative methods to obtain storage information, refer to this page: Working with Storage.