From 612d08c5d36c3ed58b50e1b71791246adee2ab83 Mon Sep 17 00:00:00 2001 From: Petri Asikainen Date: Wed, 27 Oct 2021 14:08:34 +0300 Subject: [PATCH] make fieldsetid optional --- SnipeitPS/Public/New-SnipeitModel.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SnipeitPS/Public/New-SnipeitModel.ps1 b/SnipeitPS/Public/New-SnipeitModel.ps1 index 4a4725b..adf9376 100644 --- a/SnipeitPS/Public/New-SnipeitModel.ps1 +++ b/SnipeitPS/Public/New-SnipeitModel.ps1 @@ -53,7 +53,7 @@ function New-SnipeitModel() { [int]$eol, - [parameter(mandatory = $true)] + [parameter(mandatory = $false)] [int]$fieldset_id, [ValidateScript({Test-Path $_})]