2017-11-18 19:50:47 +00:00
|
|
|
---
|
|
|
|
|
external help file: SnipeItPS-help.xml
|
|
|
|
|
Module Name: SnipeItPS
|
|
|
|
|
online version:
|
|
|
|
|
schema: 2.0.0
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
# Get-Status
|
|
|
|
|
|
|
|
|
|
## SYNOPSIS
|
2017-11-20 09:07:58 +00:00
|
|
|
# Gets a list of Snipe-it Status Labels
|
2017-11-18 19:50:47 +00:00
|
|
|
|
|
|
|
|
## SYNTAX
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
Get-Status [-url] <String> [-apiKey] <String>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
{{Fill in the Description}}
|
|
|
|
|
|
|
|
|
|
## EXAMPLES
|
|
|
|
|
|
2017-11-20 09:07:58 +00:00
|
|
|
### -------------------------- EXAMPLE 1 --------------------------
|
2017-11-18 19:50:47 +00:00
|
|
|
```
|
2017-11-20 09:07:58 +00:00
|
|
|
Get-Status -url "https://assets.example.com" -token "token..."
|
2017-11-18 19:50:47 +00:00
|
|
|
```
|
|
|
|
|
|
2017-11-20 09:07:58 +00:00
|
|
|
### -------------------------- EXAMPLE 2 --------------------------
|
|
|
|
|
```
|
|
|
|
|
Get-Status -url "https://assets.example.com" -token "token..." | Where-Object {$_.name -eq "Ready to Deploy" }
|
|
|
|
|
```
|
2017-11-18 19:50:47 +00:00
|
|
|
|
|
|
|
|
## PARAMETERS
|
|
|
|
|
|
2017-11-20 09:07:58 +00:00
|
|
|
### -url
|
|
|
|
|
URL of Snipeit system, can be set using Set-Info command
|
2017-11-18 19:50:47 +00:00
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
Type: String
|
|
|
|
|
Parameter Sets: (All)
|
|
|
|
|
Aliases:
|
|
|
|
|
|
|
|
|
|
Required: True
|
|
|
|
|
Position: 1
|
|
|
|
|
Default value: None
|
|
|
|
|
Accept pipeline input: False
|
|
|
|
|
Accept wildcard characters: False
|
|
|
|
|
```
|
|
|
|
|
|
2017-11-20 09:07:58 +00:00
|
|
|
### -apiKey
|
|
|
|
|
Users API Key for Snipeit, can be set using Set-Info command
|
2017-11-18 19:50:47 +00:00
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
Type: String
|
|
|
|
|
Parameter Sets: (All)
|
|
|
|
|
Aliases:
|
|
|
|
|
|
|
|
|
|
Required: True
|
2017-11-20 09:07:58 +00:00
|
|
|
Position: 2
|
2017-11-18 19:50:47 +00:00
|
|
|
Default value: None
|
|
|
|
|
Accept pipeline input: False
|
|
|
|
|
Accept wildcard characters: False
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## INPUTS
|
|
|
|
|
|
|
|
|
|
## OUTPUTS
|
|
|
|
|
|
|
|
|
|
## NOTES
|
|
|
|
|
|
|
|
|
|
## RELATED LINKS
|
|
|
|
|
|