Update Remove-Asset.ps1

This commit is contained in:
MrCarter 2020-01-23 11:14:36 -05:00 committed by GitHub
parent 7cbcd575f6
commit 621bab7d4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,6 @@
Long description
.PARAMETER ID
Unique ID For Asset to be removed
.EXAMPLE
Remove-Asset -ID 44 -url $url -apiKey $secret -Verbose
#>
@ -31,7 +30,7 @@ function Remove-Asset ()
"ID" = $Name
}
$Body = $Values | ConvertTo-Json;
$Body = $Values | ConvertTo-Json
$Parameters = @{
Uri = "$url/api/v1/hardware/$ID"