Merge pull request #240 from PetriAsi/fix/#239

Fix/#239 : New-SnipeitModel make fieldset_id optional
This commit is contained in:
Petri Asikainen 2021-10-27 14:14:25 +03:00 committed by GitHub
commit 2a6d62bff5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
76 changed files with 81 additions and 81 deletions

View file

@ -53,7 +53,7 @@ function New-SnipeitModel() {
[int]$eol,
[parameter(mandatory = $true)]
[parameter(mandatory = $false)]
[int]$fieldset_id,
[ValidateScript({Test-Path $_})]

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---
@ -29,7 +29,7 @@ Connect-SnipeitPS -siteCred <PSCredential> [<CommonParameters>]
## DESCRIPTION
Sets apikey and url to connect Snipe-It system.
Based on Set-SnipeitInfo command, what is now just combatipility wrapper
Based on Set-SnipeitInfo command, what is now just compatibility wrapper
and calls Connect-SnipeitPS
## EXAMPLES

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---
@ -14,7 +14,7 @@ Add a new Model to Snipe-it asset system
```
New-SnipeitModel [-name] <String> [[-model_number] <String>] [-category_id] <Int32> [-manufacturer_id] <Int32>
[[-eol] <Int32>] [-fieldset_id] <Int32> [[-image] <String>] [[-url] <String>] [[-apiKey] <String>] [-WhatIf]
[[-eol] <Int32>] [[-fieldset_id] <Int32>] [[-image] <String>] [[-url] <String>] [[-apiKey] <String>] [-WhatIf]
[-Confirm] [<CommonParameters>]
```
@ -84,7 +84,7 @@ Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Required: False
Position: 6
Default value: 0
Accept pipeline input: False

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---

View file

@ -1,16 +1,16 @@
---
Module Name: snipeitps
Module Name: SnipeitPS
Module Guid: f86f4db4-1cb1-45c4-b7bf-6762531bfdeb
Download Help Link: {{ Update Download Link }}
Help Version: {{ Please enter version of help manually (X.X.X.X) format }}
Locale: en-US
---
# snipeitps Module
# SnipeitPS Module
## Description
{{ Fill in the Description }}
## snipeitps Cmdlets
## SnipeitPS Cmdlets
### [Connect-SnipeitPS](Connect-SnipeitPS.md)
Sets authetication information

View file

@ -1,6 +1,6 @@
---
external help file: SnipeitPS-help.xml
Module Name: snipeitps
Module Name: SnipeitPS
online version:
schema: 2.0.0
---