SnipeitPS/docs/Get-SnipeItCustomField.md

86 lines
1.5 KiB
Markdown
Raw Normal View History

---
2021-05-18 05:57:40 +03:00
external help file: SnipeItPS-help.xml
Module Name: SnipeitPS
online version:
schema: 2.0.0
---
# Get-SnipeItCustomField
2021-05-18 05:57:40 +03:00
## SYNOPSIS
Returns specific Snipe-IT custom field or a list of all custom field
2021-05-18 05:57:40 +03:00
## SYNTAX
```
Get-SnipeItCustomField [[-id] <Int32>] [-url] <String> [-apiKey] <String> [<CommonParameters>]
2021-05-18 05:57:40 +03:00
```
## DESCRIPTION
{{ Fill in the Description }}
## EXAMPLES
### EXAMPLE 1
```
2021-05-23 23:22:23 +03:00
Get-SnipeItCustomField -url "https://assets.example.com" -token "token..."
2021-05-18 05:57:40 +03:00
```
## PARAMETERS
2021-05-23 23:22:23 +03:00
### -id
A id of specific field
2021-05-18 05:57:40 +03:00
```yaml
2021-05-23 23:22:23 +03:00
Type: Int32
2021-05-18 05:57:40 +03:00
Parameter Sets: (All)
Aliases:
2021-05-23 23:22:23 +03:00
Required: False
Position: 1
Default value: 0
2021-05-18 05:57:40 +03:00
Accept pipeline input: False
Accept wildcard characters: False
```
2021-05-23 23:22:23 +03:00
### -url
URL of Snipeit system, can be set using Set-SnipeItInfo command
```yaml
2021-05-23 23:22:23 +03:00
Type: String
Parameter Sets: (All)
Aliases:
2021-05-23 23:22:23 +03:00
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
2021-05-23 23:22:23 +03:00
### -apiKey
Users API Key for Snipeit, can be set using Set-SnipeItInfo command
2021-05-18 05:57:40 +03:00
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: True
2021-05-23 23:22:23 +03:00
Position: 3
2021-05-18 05:57:40 +03:00
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
## OUTPUTS
## NOTES
## RELATED LINKS