Skip to content

Instantly share code, notes, and snippets.

@joshooaj
Created January 16, 2026 17:29
Show Gist options
  • Select an option

  • Save joshooaj/e1c192ca375295a2c52d523bb37c0ad8 to your computer and use it in GitHub Desktop.

Select an option

Save joshooaj/e1c192ca375295a2c52d523bb37c0ad8 to your computer and use it in GitHub Desktop.
Extend the output of Get-VmsCameraReport with Axis Zipstream properties
Get-VmsCameraReport | ForEach-Object {
$row = $_
$camera = Get-VmsCamera -Id $row.Id
$stream = $camera | Get-VmsCameraStream -RecordingTrack Primary
$settings = 'ZFpsMode', 'ZGopLength', 'ZGopMode', 'ZStrength'
foreach ($setting in $settings) {
$splat = @{
MemberType = 'NoteProperty'
Name = $setting
Value = $stream.Settings.$setting
}
$row | Add-Member @splat
}
$row
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment