mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
1.4 KiB
1.4 KiB
| external help file | Module Name | online version | schema |
|---|---|---|---|
| SnipeItPS-help.xml | SnipeItPS | http://go.microsoft.com/fwlink/?LinkId=821589 | 2.0.0 |
Get-User
SYNOPSIS
Gets a list of Snipe-it Users
SYNTAX
Get-User [[-search] <String>] [-url] <String> [-apiKey] <String>
DESCRIPTION
{{Fill in the Description}}
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
Get-User -url "https://assets.example.com" -token "token..."
-------------------------- EXAMPLE 2 --------------------------
Get-User -url "https://assets.example.com" -token "token..." | Where-Object {$_.username -eq "stephenm" }
PARAMETERS
-search
{{Fill search Description}}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-url
URL of Snipeit system, can be set using Set-Info command
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-apiKey
Users API Key for Snipeit, can be set using Set-Info command
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False