How to get still images by using MilestonePSTools

I’m sorry. It’s not a question. It’s only for your information.

I have released a YouTube video explaining a sample script of MilestonePSTools. The scripts can get snapshots from XProtect.

I have written the script for only a sample.

If you use it, I recommend you examine this script well.

https://youtu.be/lQB0pttzalA?si=Nu9HqektnhL2ye9u

If the video helps your work, I’ll be happy.

Note:

Unfortunately, this video was produced in Japanese. However, this video has an appropriate subtitle. If you configure an automatic subtitle translation based on the YouTube function, you can show the video in your favorite language.

#The sample script for getting snapshots
Connect-ManagementServer -ShowDialog -AcceptEula             
Get-VmsCameraReport -IncludeSnapshots |                     
ForEach-object{                                              
  If ($_.SnapShot.equals){ 
    $Filename = "C:\Work\PowerShell\" + $_.name + ".jpg"     #Get Camera name in XProtect
    $_.SnapShot.Save( $Filename, [System.Drawing.Imaging.ImageFormat]::Jpeg)   
  } 
} 
Disconnect-ManagementServer