private/Functions/Hanwha/Get-HanwhaRecordingStorage.ps1

#https://$($ip)/stw-cgi/recording.cgi?msubmenu=storage&action=set&Enable=True&OverWrite=True&AutoDeleteEnable=True&AutoDeleteDays=90

Function Get-HanwhaRecordingStorage {
    [cmdletBinding()]
    Param(
        [Parameter()]
        [hashtable]$Object
    )
    
    <#
    Object Definition:
    @{
        IP = [String(Mandatory)]
        Credential = [PSCredential(Mandatory)]
    }
    #>


    #Set basic Paramters for Invoke-HanwhaCommand
    $CamCmd = @{
        Arguments = @{
            IP = $Object.IP
            Menu = 'recording'
            SubMenu = 'storage'
            Action = 'view'
            Parameters = @()
        }
        Credential = $Object.Credential
    }

    return Invoke-HanwhaCommand @CamCmd
}