< Back
Save-MJVeraWebCamImage
Post
NAME Save-MJVeraWebCamImage
SYNOPSIS
Connects to Vera controller and collects information about all cameras and saves images.
SYNTAX
Save-MJVeraWebCamImage [-VeraIP] <String> [-DestinationPath] <String> [-Filename <String>] [-RequireLogin]
[-VeraCredential <PSCredential>] [<CommonParameters>]
DESCRIPTION
This function will call Get-MJWebCamImage and provide information provided by Get-MJVeraStatus, Images from all
webcams will be saved to disk.
This will provide new objects with information about all images that????????s saved with this function.
2016-06-21 - Added the room the device was found in.
Currently supports up 10 images / sec (limit with the filename currently)
Created by Ispep
Added 2016-06-07
WWW.Automatiserar.se
PARAMETERS
-VeraIP <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DestinationPath <String>
Provide the IP or DNS name to your Vera Controller.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Filename <String>
provide the File path where you want files to be saved to
Required? false
Position? named
Default value VeraImage
Accept pipeline input? false
Accept wildcard characters? false
-RequireLogin [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-VeraCredential <PSCredential>
If you require your controller to apply login use this switch and provide credential to your vera..
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This component requires you to have a Vera controller.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Save-MJVeraWebCamImage -VeraIP vera -DestinationPath C:\\Temp -Filename VeraImage
WebcamIP : 10.20.30.40
Destination : C:\\Temp
SnapshotURL : image/jpeg.cgi
Filename : VeraImage
RequireLogin : True
WebCamSource : http://10.20.30.40/image/jpeg.cgi
SavePath : C:\\Temp\\VeraImage_2016-06-08_23-06-03_3.jpg
FileSize : 48454
Room : 1
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Save-MJVeraWebCamImage -VeraIP vera -DestinationPath C:\\Temp -Filename VeraImage -RequireLogin
-VeraCredential (Get-Credential)
WebcamIP : 10.20.30.40
Destination : C:\\Temp
SnapshotURL : image/jpeg.cgi
Filename : VeraImage
RequireLogin : True
WebCamSource : http://10.20.30.40/image/jpeg.cgi
SavePath : C:\\Temp\\VeraImage_2016-06-08_23-07-51_0.jpg
FileSize : 48498
Room : 1
RELATED LINKS
SYNOPSIS
Connects to Vera controller and collects information about all cameras and saves images.
SYNTAX
Save-MJVeraWebCamImage [-VeraIP] <String> [-DestinationPath] <String> [-Filename <String>] [-RequireLogin]
[-VeraCredential <PSCredential>] [<CommonParameters>]
DESCRIPTION
This function will call Get-MJWebCamImage and provide information provided by Get-MJVeraStatus, Images from all
webcams will be saved to disk.
This will provide new objects with information about all images that????????s saved with this function.
2016-06-21 - Added the room the device was found in.
Currently supports up 10 images / sec (limit with the filename currently)
Created by Ispep
Added 2016-06-07
WWW.Automatiserar.se
PARAMETERS
-VeraIP <String>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-DestinationPath <String>
Provide the IP or DNS name to your Vera Controller.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Filename <String>
provide the File path where you want files to be saved to
Required? false
Position? named
Default value VeraImage
Accept pipeline input? false
Accept wildcard characters? false
-RequireLogin [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-VeraCredential <PSCredential>
If you require your controller to apply login use this switch and provide credential to your vera..
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
This component requires you to have a Vera controller.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Save-MJVeraWebCamImage -VeraIP vera -DestinationPath C:\\Temp -Filename VeraImage
WebcamIP : 10.20.30.40
Destination : C:\\Temp
SnapshotURL : image/jpeg.cgi
Filename : VeraImage
RequireLogin : True
WebCamSource : http://10.20.30.40/image/jpeg.cgi
SavePath : C:\\Temp\\VeraImage_2016-06-08_23-06-03_3.jpg
FileSize : 48454
Room : 1
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Save-MJVeraWebCamImage -VeraIP vera -DestinationPath C:\\Temp -Filename VeraImage -RequireLogin
-VeraCredential (Get-Credential)
WebcamIP : 10.20.30.40
Destination : C:\\Temp
SnapshotURL : image/jpeg.cgi
Filename : VeraImage
RequireLogin : True
WebCamSource : http://10.20.30.40/image/jpeg.cgi
SavePath : C:\\Temp\\VeraImage_2016-06-08_23-07-51_0.jpg
FileSize : 48498
Room : 1
RELATED LINKS