SnipeitPS/docs/Get-User.md

89 lines
1.4 KiB
Markdown
Raw Normal View History

2017-11-18 19:50:47 +00:00
---
external help file: SnipeItPS-help.xml
Module Name: SnipeItPS
2018-04-29 08:58:34 +01:00
online version: http://go.microsoft.com/fwlink/?LinkId=821589
2017-11-18 19:50:47 +00:00
schema: 2.0.0
---
2017-11-18 21:41:35 +00:00
# Get-User
2017-11-18 19:50:47 +00:00
## SYNOPSIS
# Gets a list of Snipe-it Users
## SYNTAX
```
2018-04-29 08:58:34 +01:00
Get-User [[-search] <String>] [-url] <String> [-apiKey] <String>
2017-11-18 19:50:47 +00:00
```
## DESCRIPTION
{{Fill in the Description}}
## EXAMPLES
### -------------------------- EXAMPLE 1 --------------------------
```
2017-11-20 09:07:58 +00:00
Get-User -url "https://assets.example.com" -token "token..."
2017-11-18 19:50:47 +00:00
```
### -------------------------- EXAMPLE 2 --------------------------
```
2017-11-20 09:07:58 +00:00
Get-User -url "https://assets.example.com" -token "token..." | Where-Object {$_.username -eq "stephenm" }
2017-11-18 19:50:47 +00:00
```
## PARAMETERS
2018-04-29 08:58:34 +01:00
### -search
{{Fill search Description}}
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
2017-11-18 19:50:47 +00:00
### -url
URL of Snipeit system, can be set using Set-Info command
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: True
2018-04-29 08:58:34 +01:00
Position: 2
2017-11-18 19:50:47 +00:00
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -apiKey
Users API Key for Snipeit, can be set using Set-Info command
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: True
2018-04-29 08:58:34 +01:00
Position: 3
2017-11-18 19:50:47 +00:00
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
## INPUTS
## OUTPUTS
## NOTES
## RELATED LINKS