mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
Merge pull request #175 from PetriAsi/fix/get-with-serial
Fix get with serial
This commit is contained in:
commit
6e8d27e69d
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ function Get-SnipeitAsset() {
|
|||
'Search' { $apiurl = "$url/api/v1/hardware" }
|
||||
'Get with id' {$apiurl= "$url/api/v1/hardware/$id"}
|
||||
'Get with asset tag' {$apiurl= "$url/api/v1/hardware/bytag/$asset_tag"}
|
||||
'Get with serial' { $apiurl= "$url/api/v1/hardware/byserial/$asset_serial"}
|
||||
'Get with serial' { $apiurl= "$url/api/v1/hardware/byserial/$serial"}
|
||||
'Assets due auditing soon' {$apiurl = "$url/api/v1/hardware/audit/due"}
|
||||
'Assets overdue for auditing' {$apiurl = "$url/api/v1/hardware/audit/overdue"}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue