private/Functions/Hanwha/Get-HanwhaRecordingGeneral.ps1
Function Get-HanwhaRecordingGeneral { [cmdletBinding()] Param( [Parameter()] [hashtable]$Object ) <# Object Definition: @{ IP = [String(Mandatory)] Credential = [PSCredential(Mandatory)] Storage = [int] as [String(Optional)] } #> #Set basic Paramters for Invoke-HanwhaCommand $CamCmd = @{ Arguments = @{ IP = $Object.IP Menu = 'recording' SubMenu = 'general' Action = 'view' Parameters = @( "Channel=$($Object.Channel)" ) } Credential = $Object.Credential } return (Invoke-HanwhaCommand @CamCmd).RecordSetup } |