Adds a new evidence lock record.
Adds a new evidence lock record. Evidence locks describe sequences of video for one or more cameras and related devices with custom retention settings. This enables you to retain recordings longer than the normal configured video retention for the selected devices.
- Requires VMS connection and will attempt to connect automatically
- Requires VMS feature "EvidenceLock"
Add-EvidenceLock -Header 'Evidence Lock Title' -Description 'Created from PowerShell' -CameraIds (Select-Camera -RemoveDuplicates -AllowFolders -AllowServers).Id -IncludeRelatedDevices -FootageFrom (Get-Date).AddDays(-1) -FootageTo (Get-Date).AddMinutes(-5) -RetentionType UserDefined -ExpireDate (Get-Date).AddDays(300) -Verbose
Creates a new evidence lock for the last ~24 hours of video from the selected cameras with a 300-day retention.
One or more camera IDs to associate with the new evidence lock record
A detailed description of the evidence lock record
Zero or more additional device IDs to be associated with the evidence lock such as related microphones or speakers
The date at which the evidence lock should expire and recordings should be deleted based on normal retention settings for their storage configuration
Specifies the earliest start time for the recordings associated with the evidence lock
Specifies the most recent recordings associated with the evidence lock
Specifies the title of the evidence lock
Specifies whether related devices are automatically associated with the evidence lock
Specifies the type of retention for the evidence lock
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.