Updated for release v1.5

This commit is contained in:
Petri Asikainen 2021-06-08 16:30:12 +03:00
parent 2739a4f438
commit 8fad0f653c
17 changed files with 448 additions and 298 deletions

View file

@ -5,6 +5,25 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/),
and this project adheres to [Semantic Versioning](http://semver.org/).
# [v1.5.x] - 2021-06-08
## Piping input
### New features
Most of "Set" command accepts piped input. Piped objects "id" attribute
is used to select asset set values. Like
Get-SnipeItAsset -model_id 213 | Set-SnipeItAsset -notes 'This is nice!'
Set command accept id parameter as array, so its easier to set multiple items
in one run.
Parameter sets. Get commands have now parameters sets.This will make syntax more
clear between search and get by ID use. Use get-help to
### Fixes
-Empty strings are accepted as input so it's possible to wipe field values if
needed
# [v1.4.x] - 2021-05-27
## More Activity

View file

@ -14,7 +14,7 @@ environment:
PSGalleryAPIKey:
secure: UdM6qhf5B0G8liHhUrwWERCZr44iSqmg4jUq0lwlTjZs4KyeoiwnBzdej0phqIAm
version: 1.4.{build}
version: 1.5.{build}
# Don't rebuild when I tag a release on GitHub
skip_tags: true

View file

@ -12,10 +12,16 @@ Gets a list of Snipe-it Accessories
## SYNTAX
### Search
```
Get-SnipeItAccessory [[-search] <String>] [[-company_id] <Int32>] [[-category_id] <Int32>]
[[-manufacturer_id] <Int32>] [[-supplier_id] <Int32>] [[-sort] <String>] [[-order] <String>]
[[-limit] <Int32>] [[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItAccessory [-search <String>] [-company_id <Int32>] [-category_id <Int32>] [-manufacturer_id <Int32>]
[-supplier_id <Int32>] [-sort <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all]
-url <String> -apiKey <String> [<CommonParameters>]
```
### Get by ID
```
Get-SnipeItAccessory [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -40,7 +46,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -59,7 +65,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 11
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -70,11 +76,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -85,11 +91,26 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```
### -id
A id of specific Accessory
```yaml
Type: Int32
Parameter Sets: Get by ID
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -102,11 +123,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 8
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -117,11 +138,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -132,11 +153,11 @@ Result offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 9
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -147,11 +168,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 7
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -162,11 +183,11 @@ A text string to search the Accessory data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -177,11 +198,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 6
Position: Named
Default value: Created_at
Accept pipeline input: False
Accept wildcard characters: False
@ -192,11 +213,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -211,7 +232,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 10
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,12 +12,27 @@ Gets a list of Snipe-it Assets or specific asset
## SYNTAX
### Search
```
Get-SnipeItAsset [[-search] <String>] [[-id] <Int32>] [[-asset_tag] <String>] [[-serial] <String>]
[[-order_number] <String>] [[-model_id] <Int32>] [[-category_id] <Int32>] [[-manufacturer_id] <Int32>]
[[-company_id] <Int32>] [[-location_id] <Int32>] [[-depreciation_id] <Int32>] [[-requestable] <Boolean>]
[[-status] <String>] [[-status_id] <Int32>] [[-sort] <String>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItAsset [-search <String>] [-order_number <String>] [-model_id <Int32>] [-category_id <Int32>]
[-manufacturer_id <Int32>] [-company_id <Int32>] [-location_id <Int32>] [-depreciation_id <Int32>]
[-requestable <Boolean>] [-status <String>] [-status_id <Int32>] [-sort <String>] [-order <String>]
[-limit <Int32>] [-offset <Int32>] [-all] -url <String> -apiKey <String> [<CommonParameters>]
```
### Get with id
```
Get-SnipeItAsset [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
### Get with asset tag
```
Get-SnipeItAsset [-asset_tag <String>] -url <String> -apiKey <String> [<CommonParameters>]
```
### Get with serial
```
Get-SnipeItAsset [-serial <String>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -52,7 +67,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -71,7 +86,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 20
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -82,11 +97,11 @@ Exact asset tag to query
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Get with asset tag
Aliases:
Required: False
Position: 3
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -97,11 +112,11 @@ Optionally restrict asset results to this category ID
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 7
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -112,11 +127,11 @@ Optionally restrict asset results to this company ID
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 9
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -127,11 +142,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 11
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -142,11 +157,11 @@ ID number of excact snipeit asset
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with id
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -159,11 +174,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 17
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -174,11 +189,11 @@ Optionally restrict asset results to this location ID
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 10
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -189,11 +204,11 @@ Optionally restrict asset results to this manufacturer ID
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 8
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -204,11 +219,11 @@ Optionally restrict asset results to this asset model ID
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 6
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -219,11 +234,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 18
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -234,11 +249,11 @@ Specify the order (asc or desc) you wish to order by on your sort column
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 16
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -249,11 +264,11 @@ Optionally restrict asset results to this order number
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -264,11 +279,11 @@ Accept wildcard characters: False
```yaml
Type: Boolean
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 12
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
@ -279,11 +294,11 @@ A text string to search the assets data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -294,11 +309,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Get with serial
Aliases: asset_serial
Required: False
Position: 4
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -309,11 +324,11 @@ Specify the column name you wish to sort by
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 15
Position: Named
Default value: Created_at
Accept pipeline input: False
Accept wildcard characters: False
@ -324,11 +339,11 @@ Optionally restrict asset results to one of these status types: RTD, Deployed, U
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 13
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -339,11 +354,11 @@ Optionally restrict asset results to this status label ID
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 14
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -358,7 +373,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 19
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,9 +12,15 @@ Gets a list of Snipe-it Categories
## SYNTAX
### Search
```
Get-SnipeItCategory [[-search] <String>] [[-id] <Int32>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItCategory [-search <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all]
-url <String> -apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeItCategory [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -39,7 +45,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -58,7 +64,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -69,11 +75,11 @@ A id of specific Category
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -86,11 +92,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -101,11 +107,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -116,11 +122,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -131,11 +137,11 @@ A text string to search the Categories data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -150,7 +156,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,9 +12,15 @@ Gets a list of Snipe-it Companies
## SYNTAX
### Search
```
Get-SnipeItCompany [[-search] <String>] [[-id] <Int32>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItCompany [-search <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all] -url <String>
-apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeItCompany [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -41,7 +47,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -60,7 +66,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -71,11 +77,11 @@ A id of specific Company
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -88,11 +94,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -103,11 +109,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -118,11 +124,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -133,11 +139,11 @@ A text string to search the Companies data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -152,7 +158,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,10 +12,16 @@ Gets a list of Snipe-it Components
## SYNTAX
### Search
```
Get-SnipeItComponent [[-search] <String>] [[-id] <Int32>] [[-category_id] <Int32>] [[-company_id] <Int32>]
[[-location_id] <Int32>] [[-order] <String>] [[-sort] <String>] [[-limit] <Int32>] [[-offset] <Int32>] [-all]
[-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItComponent [-search <String>] [-category_id <Int32>] [-company_id <Int32>] [-location_id <Int32>]
[-order <String>] [-sort <String>] [-limit <Int32>] [-offset <Int32>] [-all] -url <String> -apiKey <String>
[<CommonParameters>]
```
### Get with ID
```
Get-SnipeItComponent [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -48,7 +54,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -67,7 +73,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 11
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -78,11 +84,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -93,11 +99,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -108,11 +114,11 @@ A id of specific Component
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -125,11 +131,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 8
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -140,11 +146,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -155,11 +161,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 9
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -170,11 +176,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 6
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -185,11 +191,11 @@ A text string to search the Components data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -200,11 +206,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 7
Position: Named
Default value: Created_at
Accept pipeline input: False
Accept wildcard characters: False
@ -219,7 +225,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 10
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,9 +12,15 @@ Gets a list of Snipe-it Departments
## SYNTAX
### Search
```
Get-SnipeItDepartment [[-search] <String>] [[-id] <Int32>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [[-sort] <String>] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItDepartment [-search <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all]
[-sort <String>] -url <String> -apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeItDepartment [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -44,7 +50,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -63,7 +69,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 8
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -74,11 +80,11 @@ A id of specific Department
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -91,11 +97,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -106,11 +112,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -121,11 +127,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -136,11 +142,11 @@ A text string to search the Departments data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -151,11 +157,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 6
Position: Named
Default value: Created_at
Accept pipeline input: False
Accept wildcard characters: False
@ -170,7 +176,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,12 +12,18 @@ Gets a list of Snipe-it Licenses
## SYNTAX
### Search
```
Get-SnipeItLicense [[-search] <String>] [[-id] <Int32>] [[-name] <String>] [[-company_id] <Int32>]
[[-product_key] <String>] [[-order_number] <String>] [[-purchase_order] <String>] [[-license_name] <String>]
[[-license_email] <MailAddress>] [[-manufacturer_id] <Int32>] [[-supplier_id] <Int32>]
[[-depreciation_id] <Int32>] [[-category_id] <Int32>] [[-order] <String>] [[-sort] <String>]
[[-limit] <Int32>] [[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItLicense [-search <String>] [-name <String>] [-company_id <Int32>] [-product_key <String>]
[-order_number <String>] [-purchase_order <String>] [-license_name <String>] [-license_email <MailAddress>]
[-manufacturer_id <Int32>] [-supplier_id <Int32>] [-depreciation_id <Int32>] [-category_id <Int32>]
[-order <String>] [-sort <String>] [-limit <Int32>] [-offset <Int32>] [-all] -url <String> -apiKey <String>
[<CommonParameters>]
```
### Get with ID
```
Get-SnipeItLicense [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -42,7 +48,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -61,7 +67,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 19
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -72,11 +78,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 13
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -87,11 +93,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -102,11 +108,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 12
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -117,11 +123,11 @@ A id of specific License
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -132,11 +138,11 @@ Accept wildcard characters: False
```yaml
Type: MailAddress
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 9
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -147,11 +153,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 8
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -164,11 +170,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 16
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -179,11 +185,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 10
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -194,11 +200,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -209,11 +215,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 17
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -224,11 +230,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 14
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -239,11 +245,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 6
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -254,11 +260,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -269,11 +275,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -284,11 +290,11 @@ A text string to search the Licenses data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -299,11 +305,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 15
Position: Named
Default value: Created_at
Accept pipeline input: False
Accept wildcard characters: False
@ -314,11 +320,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 11
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -333,7 +339,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 18
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,9 +12,15 @@ schema: 2.0.0
## SYNTAX
### Search
```
Get-SnipeItManufacturer [[-search] <String>] [[-id] <Int32>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItManufacturer [-search <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all]
-url <String> -apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeItManufacturer [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -41,7 +47,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -60,7 +66,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -71,11 +77,11 @@ A id of specific Manufactuter
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -88,11 +94,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -103,11 +109,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -118,11 +124,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -133,11 +139,11 @@ A text string to search the Manufactures data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -152,7 +158,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,9 +12,15 @@ Gets a list of Snipe-it Models
## SYNTAX
### Search
```
Get-SnipeItModel [[-search] <String>] [[-id] <Int32>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItModel [-search <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all] -url <String>
-apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeItModel [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -39,7 +45,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -58,7 +64,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -69,11 +75,11 @@ A id of specific model
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -86,11 +92,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -101,11 +107,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -116,11 +122,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -131,11 +137,11 @@ A text string to search the Models data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -150,7 +156,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,9 +12,15 @@ Gets a list of Snipe-it Status Labels
## SYNTAX
### Search
```
Get-SnipeItStatus [[-search] <String>] [[-id] <Int32>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItStatus [-search <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all] -url <String>
-apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeItStatus [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -39,7 +45,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -58,7 +64,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -69,11 +75,11 @@ A id of specific Status Label
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -86,11 +92,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -101,11 +107,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -116,11 +122,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -131,11 +137,11 @@ A text string to search the Status Labels data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -150,7 +156,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,9 +12,15 @@ schema: 2.0.0
## SYNTAX
### Search
```
Get-SnipeItSupplier [[-search] <String>] [[-id] <Int32>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeItSupplier [-search <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all]
-url <String> -apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeItSupplier [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -39,7 +45,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -58,7 +64,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -69,11 +75,11 @@ A id of specific Suplier
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -86,11 +92,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -101,11 +107,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -116,11 +122,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -131,11 +137,11 @@ A text string to search the Supliers data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -150,7 +156,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,11 +12,16 @@ schema: 2.0.0
## SYNTAX
### Search
```
Get-SnipeItUser [[-search] <String>] [[-id] <String>] [[-company_id] <Int32>] [[-location_id] <Int32>]
[[-group_id] <Int32>] [[-department_id] <Int32>] [[-username] <String>] [[-email] <String>]
[[-order] <String>] [[-limit] <Int32>] [[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String>
[<CommonParameters>]
Get-SnipeItUser [-search <String>] [-company_id <Int32>] [-location_id <Int32>] [-group_id <Int32>]
[-department_id <Int32>] [-username <String>] [-email <String>] [-order <String>] [-limit <Int32>]
[-offset <Int32>] [-all] -url <String> -apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeItUser [-id <String>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -51,7 +56,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -70,7 +75,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 13
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -81,11 +86,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -96,11 +101,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 6
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -111,11 +116,11 @@ Search string for email field
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 8
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -126,11 +131,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -141,11 +146,11 @@ A id of specific User
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -158,11 +163,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 10
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -173,11 +178,11 @@ Accept wildcard characters: False
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -188,11 +193,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 11
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -203,11 +208,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 9
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -218,11 +223,11 @@ A text string to search the User data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -237,7 +242,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 12
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -248,11 +253,11 @@ Search string for username field
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -12,9 +12,15 @@ Gets a list of Snipe-it Locations
## SYNTAX
### Search
```
Get-SnipeitLocation [[-search] <String>] [[-id] <Int32>] [[-order] <String>] [[-limit] <Int32>]
[[-offset] <Int32>] [-all] [-url] <String> [-apiKey] <String> [<CommonParameters>]
Get-SnipeitLocation [-search <String>] [-order <String>] [-limit <Int32>] [-offset <Int32>] [-all]
-url <String> -apiKey <String> [<CommonParameters>]
```
### Get with ID
```
Get-SnipeitLocation [-id <Int32>] -url <String> -apiKey <String> [<CommonParameters>]
```
## DESCRIPTION
@ -39,7 +45,7 @@ A return all results, works with -offset and other parameters
```yaml
Type: SwitchParameter
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
@ -58,7 +64,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 7
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -69,11 +75,11 @@ A id of specific Location
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Get with ID
Aliases:
Required: False
Position: 2
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -86,11 +92,11 @@ Defines batch size for -all
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 4
Position: Named
Default value: 50
Accept pipeline input: False
Accept wildcard characters: False
@ -101,11 +107,11 @@ Offset to use
```yaml
Type: Int32
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 5
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -116,11 +122,11 @@ Accept wildcard characters: False
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 3
Position: Named
Default value: Desc
Accept pipeline input: False
Accept wildcard characters: False
@ -131,11 +137,11 @@ A text string to search the Locations data
```yaml
Type: String
Parameter Sets: (All)
Parameter Sets: Search
Aliases:
Required: False
Position: 1
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -150,7 +156,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 6
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -14,8 +14,8 @@ Create a new component
```
New-SnipeItComponent [-name] <String> [-category_id] <Int32> [-qty] <String> [[-company_id] <Int32>]
[[-location_id] <Int32>] [[-purchase_date] <DateTime>] [[-purchase_cost] <Single>] [-url] <String>
[-apiKey] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
[[-location_id] <Int32>] [[-order_number] <String>] [[-purchase_date] <DateTime>] [[-purchase_cost] <Single>]
[-url] <String> [-apiKey] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
```
## DESCRIPTION
@ -39,7 +39,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 9
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -105,6 +105,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -order_number
Order number of the component
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -purchase_cost
Cost of item being purchased.
@ -114,7 +129,7 @@ Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Position: 8
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -129,7 +144,7 @@ Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -159,7 +174,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 8
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

View file

@ -14,8 +14,8 @@ Updates component
```
Set-SnipeItComponent [-id] <Int32> [-qty] <Int32> [[-name] <String>] [[-company_id] <Int32>]
[[-location_id] <Int32>] [[-purchase_date] <DateTime>] [[-purchase_cost] <Single>] [-url] <String>
[-apiKey] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
[[-location_id] <Int32>] [[-order_number] <String>] [[-purchase_date] <DateTime>] [[-purchase_cost] <Single>]
[-url] <String> [-apiKey] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
```
## DESCRIPTION
@ -39,7 +39,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 9
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -105,6 +105,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -order_number
Order number for the accessory
```yaml
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -purchase_cost
Cost of item being purchased.
@ -114,7 +129,7 @@ Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Position: 8
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
@ -129,7 +144,7 @@ Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
@ -159,7 +174,7 @@ Parameter Sets: (All)
Aliases:
Required: True
Position: 8
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False