snazy2000/SnipeitPS

Updated module (New-SnipeitModel) param requirements

NeitherSound opened this issue · 2 comments

Context

In the module (New-SnipeitModel) on line 56 it has [parameter(mandatory = $true)], which makes the fieldset_id param required although it isnt necessary for the API creation of a new model. With this being required, it causes the script to wait for input before moving forward. This would be an issue for silent script with dynamic asset creation.

Thanks. Nice catch. I'll fix it if you cant make pull request for this.

Will release fix in few minutes.