mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-15 18:55:47 +00:00
Update Set-Asset.ps1
Fields are required. If name is not set the name in blank. Staus and Model id will return error that they are required.
This commit is contained in:
parent
393c6c9f49
commit
3844e1823f
1 changed files with 3 additions and 0 deletions
|
|
@ -44,10 +44,13 @@ function Set-Asset()
|
|||
[parameter(mandatory = $true)]
|
||||
[int]$id,
|
||||
|
||||
[parameter(mandatory = $true)]
|
||||
[string]$Name,
|
||||
|
||||
[parameter(mandatory = $true)]
|
||||
[string]$Status_id,
|
||||
|
||||
[parameter(mandatory = $true)]
|
||||
[string]$Model_id,
|
||||
|
||||
[parameter(mandatory = $true)]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue