private/Functions/Hanwha/Get-HanwhaSDCard.ps1
Function Get-HanwhaSDCard { [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 = 'system' SubMenu = 'storageinfo' Action = 'view' Parameters = @() } Credential = $Object.Credential } return Invoke-HanwhaCommand @CamCmd } |