From 95eed3330c5b8f6683f74d4c7f0341321207034a Mon Sep 17 00:00:00 2001 From: Tim Murphy Date: Mon, 29 Jun 2020 19:42:05 -0500 Subject: [PATCH] Added license as valid category_type --- SnipeitPS/Public/New-Category.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SnipeitPS/Public/New-Category.ps1 b/SnipeitPS/Public/New-Category.ps1 index e047ff6..f83d33b 100644 --- a/SnipeitPS/Public/New-Category.ps1 +++ b/SnipeitPS/Public/New-Category.ps1 @@ -4,7 +4,7 @@ .PARAMETER name Name of new category to be created .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 URL of Snipeit system, can be set using Set-Info command .PARAMETER apiKey @@ -31,7 +31,7 @@ function New-Category() [string]$name, [parameter(mandatory = $true)] - [ValidateSet("asset", "accessory", "consumable", "component")] + [ValidateSet("asset", "accessory", "consumable", "component", "license")] [string]$category_type, [parameter(mandatory = $true)]