private/Functions/Hanwha/Restart-Hanwha.ps1

Function Restart-Hanwha {
    [cmdletBinding()]
    Param(
        [Parameter()]
        [hashtable]$Object
    )


    $CamCmd = @{
        Arguments = @{
            IP = $Object.IP
            Menu = 'system'
            SubMenu = 'power'
            Action = 'control'
            Parameters = @(
                "Type=Restart"
            )
        }
        Credential = $Object.Credential
    }

    Invoke-HanwhaCommand @CamCmd
}