Public/Set/Set-HaloAsset.ps1

Function Set-HaloAsset {
    <#
    .SYNOPSIS
        Updates an asset via the Halo API.
    .DESCRIPTION
        Function to send an asset update request to the Halo API
    .OUTPUTS
        Outputs an object containing the response from the web request.
    #>

    [CmdletBinding()]
    Param (
        [Parameter( Mandatory = $True )]
        [PSCustomObject]$Asset
    )
    Invoke-HaloUpdate -Object $Asset -Endpoint "asset" -Update
}