mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
Update Remove-Asset.ps1
This commit is contained in:
parent
7cbcd575f6
commit
621bab7d4e
1 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue