private/Functions/Axis/Get-AxisSDCard.ps1
Function Get-AxisSDCard { [cmdletBinding()] Param( [Parameter()] [hashtable]$Object ) <# Object Definition: @{ IP = [String(Mandatory)] Credential = [PSCredential(Mandatory)] Storage = [int] as [String(Optional)] } #> #Set basic Paramters for Invoke-AxisCommand $CamCmd = @{ Arguments = @{ IP = $Object.IP Menu = 'system' SubMenu = 'storageinfo' Action = 'view' Parameters = @() } Credential = $Object.Credential } return Invoke-AxisCommand @CamCmd } |