mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
Added license as valid category_type
This commit is contained in:
parent
54b7b4db3b
commit
95eed3330c
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
.PARAMETER name
|
.PARAMETER name
|
||||||
Name of new category to be created
|
Name of new category to be created
|
||||||
.PARAMETER type
|
.PARAMETER type
|
||||||
Type of new category to be created (asset, accessory, consumable, component)
|
Type of new category to be created (asset, accessory, consumable, component, license)
|
||||||
.PARAMETER url
|
.PARAMETER url
|
||||||
URL of Snipeit system, can be set using Set-Info command
|
URL of Snipeit system, can be set using Set-Info command
|
||||||
.PARAMETER apiKey
|
.PARAMETER apiKey
|
||||||
|
|
@ -31,7 +31,7 @@ function New-Category()
|
||||||
[string]$name,
|
[string]$name,
|
||||||
|
|
||||||
[parameter(mandatory = $true)]
|
[parameter(mandatory = $true)]
|
||||||
[ValidateSet("asset", "accessory", "consumable", "component")]
|
[ValidateSet("asset", "accessory", "consumable", "component", "license")]
|
||||||
[string]$category_type,
|
[string]$category_type,
|
||||||
|
|
||||||
[parameter(mandatory = $true)]
|
[parameter(mandatory = $true)]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue