From 7ba3de55bb4b9f43d4af90a22a4230b4cd67de6f Mon Sep 17 00:00:00 2001 From: Petri Asikainen Date: Sun, 6 Jun 2021 06:22:08 +0300 Subject: [PATCH] Pipeline support for Set functions --- docs/Get-SnipeItAsset.md | 36 +++++++++++++++---------------- docs/Get-SnipeItLicense.md | 4 ++-- docs/Set-SnipeItAccessory.md | 6 +++--- docs/Set-SnipeItAccessoryOwner.md | 6 +++--- docs/Set-SnipeItAsset.md | 6 +++--- docs/Set-SnipeItAssetOwner.md | 6 +++--- docs/Set-SnipeItLicense.md | 6 +++--- docs/Set-SnipeItLicenseSeat.md | 4 ++-- docs/Set-SnipeItModel.md | 6 +++--- docs/Set-SnipeItUser.md | 6 +++--- docs/Set-SnipeitLocation.md | 6 +++--- 11 files changed, 46 insertions(+), 46 deletions(-) diff --git a/docs/Get-SnipeItAsset.md b/docs/Get-SnipeItAsset.md index 7828560..82d959f 100644 --- a/docs/Get-SnipeItAsset.md +++ b/docs/Get-SnipeItAsset.md @@ -13,8 +13,8 @@ Gets a list of Snipe-it Assets or specific asset ## SYNTAX ``` -Get-SnipeItAsset [[-search] ] [[-id] ] [[-asset_tag] ] [[-asset_serial] ] - [[-order_number] ] [[-model_id] ] [[-category_id] ] [[-manufacturer_id] ] +Get-SnipeItAsset [[-search] ] [[-id] ] [[-asset_tag] ] [[-serial] ] + [[-order_number] ] [[-model_id] ] [[-category_id] ] [[-manufacturer_id] ] [[-company_id] ] [[-location_id] ] [[-depreciation_id] ] [[-requestable] ] [[-status] ] [[-status_id] ] [[-sort] ] [[-order] ] [[-limit] ] [[-offset] ] [-all] [-url] [-apiKey] [] @@ -77,21 +77,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -asset_serial -Exact asset serialnumber to query - -```yaml -Type: String -Parameter Sets: (All) -Aliases: - -Required: False -Position: 4 -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -asset_tag Exact asset tag to query @@ -263,7 +248,7 @@ Accept wildcard characters: False Optionally restrict asset results to this order number ```yaml -Type: Int32 +Type: String Parameter Sets: (All) Aliases: @@ -304,6 +289,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -serial +{{ Fill serial Description }} + +```yaml +Type: String +Parameter Sets: (All) +Aliases: asset_serial + +Required: False +Position: 4 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -sort Specify the column name you wish to sort by diff --git a/docs/Get-SnipeItLicense.md b/docs/Get-SnipeItLicense.md index 7be41ae..3bfec39 100644 --- a/docs/Get-SnipeItLicense.md +++ b/docs/Get-SnipeItLicense.md @@ -14,7 +14,7 @@ Gets a list of Snipe-it Licenses ``` Get-SnipeItLicense [[-search] ] [[-id] ] [[-name] ] [[-company_id] ] - [[-product_key] ] [[-order_number] ] [[-purchase_order] ] [[-license_name] ] + [[-product_key] ] [[-order_number] ] [[-purchase_order] ] [[-license_name] ] [[-license_email] ] [[-manufacturer_id] ] [[-supplier_id] ] [[-depreciation_id] ] [[-category_id] ] [[-order] ] [[-sort] ] [[-limit] ] [[-offset] ] [-all] [-url] [-apiKey] [] @@ -238,7 +238,7 @@ Accept wildcard characters: False {{ Fill order_number Description }} ```yaml -Type: Int32 +Type: String Parameter Sets: (All) Aliases: diff --git a/docs/Set-SnipeItAccessory.md b/docs/Set-SnipeItAccessory.md index 3b10b76..ba356e5 100644 --- a/docs/Set-SnipeItAccessory.md +++ b/docs/Set-SnipeItAccessory.md @@ -13,7 +13,7 @@ Updates accessory on Snipe-It system ## SYNTAX ``` -Set-SnipeItAccessory [-id] [[-name] ] [[-qty] ] [[-category_id] ] +Set-SnipeItAccessory [-id] [[-name] ] [[-qty] ] [[-category_id] ] [[-company_id] ] [[-manufacturer_id] ] [[-order_number] ] [[-purchase_cost] ] [[-purchase_date] ] [[-min_qty] ] [[-supplier_id] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] @@ -80,14 +80,14 @@ Accept wildcard characters: False {{ Fill id Description }} ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` diff --git a/docs/Set-SnipeItAccessoryOwner.md b/docs/Set-SnipeItAccessoryOwner.md index 98da95c..073cf57 100644 --- a/docs/Set-SnipeItAccessoryOwner.md +++ b/docs/Set-SnipeItAccessoryOwner.md @@ -13,7 +13,7 @@ Checkout accessory ## SYNTAX ``` -Set-SnipeItAccessoryOwner [-id] [-assigned_to] [[-note] ] [-url] +Set-SnipeItAccessoryOwner [-id] [-assigned_to] [[-note] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` @@ -63,14 +63,14 @@ Accept wildcard characters: False Unique ID For accessory to checkout ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` diff --git a/docs/Set-SnipeItAsset.md b/docs/Set-SnipeItAsset.md index 831e7f4..9de0a17 100644 --- a/docs/Set-SnipeItAsset.md +++ b/docs/Set-SnipeItAsset.md @@ -13,7 +13,7 @@ Update a specific Asset in the Snipe-it asset system ## SYNTAX ``` -Set-SnipeItAsset [-id] [[-name] ] [[-status_id] ] [[-model_id] ] +Set-SnipeItAsset [-id] [[-name] ] [[-status_id] ] [[-model_id] ] [[-last_checkout] ] [[-assigned_to] ] [[-company_id] ] [[-serial] ] [[-order_number] ] [[-warranty_months] ] [[-purchase_cost] ] [[-purchase_date] ] [[-requestable] ] [[-archived] ] [[-rtd_location_id] ] @@ -118,14 +118,14 @@ Accept wildcard characters: False ID of the Asset ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` diff --git a/docs/Set-SnipeItAssetOwner.md b/docs/Set-SnipeItAssetOwner.md index 3b87adb..96826cd 100644 --- a/docs/Set-SnipeItAssetOwner.md +++ b/docs/Set-SnipeItAssetOwner.md @@ -13,7 +13,7 @@ Checkout asset ## SYNTAX ``` -Set-SnipeItAssetOwner [-id] [-assigned_id] [[-checkout_to_type] ] [[-name] ] +Set-SnipeItAssetOwner [-id] [-assigned_id] [[-checkout_to_type] ] [[-name] ] [[-note] ] [[-expected_checkin] ] [[-checkout_at] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` @@ -109,14 +109,14 @@ Accept wildcard characters: False Unique ID For asset to checkout ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` diff --git a/docs/Set-SnipeItLicense.md b/docs/Set-SnipeItLicense.md index 8dfa8cc..9a03542 100644 --- a/docs/Set-SnipeItLicense.md +++ b/docs/Set-SnipeItLicense.md @@ -13,7 +13,7 @@ Updates a licence ## SYNTAX ``` -Set-SnipeItLicense [-id] [[-name] ] [[-seats] ] [[-category_id] ] +Set-SnipeItLicense [-id] [[-name] ] [[-seats] ] [[-category_id] ] [[-company_id] ] [[-expiration_date] ] [[-license_email] ] [[-license_name] ] [[-maintained] ] [[-manufacturer_id] ] [[-notes] ] [[-order_number] ] [[-purchase_cost] ] [[-purchase_date] ] @@ -97,14 +97,14 @@ Accept wildcard characters: False ID number of licence ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` diff --git a/docs/Set-SnipeItLicenseSeat.md b/docs/Set-SnipeItLicenseSeat.md index 305ef41..329bda2 100644 --- a/docs/Set-SnipeItLicenseSeat.md +++ b/docs/Set-SnipeItLicenseSeat.md @@ -13,7 +13,7 @@ Set license seat or checkout license seat ## SYNTAX ``` -Set-SnipeItLicenseSeat [-id] [-seat_id] [[-assigned_id] ] [[-asset_id] ] +Set-SnipeItLicenseSeat [-id] [-seat_id] [[-assigned_id] ] [[-asset_id] ] [[-note] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` @@ -85,7 +85,7 @@ Accept wildcard characters: False Unique ID For asset to checkout ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: diff --git a/docs/Set-SnipeItModel.md b/docs/Set-SnipeItModel.md index 816f4e0..52fddfe 100644 --- a/docs/Set-SnipeItModel.md +++ b/docs/Set-SnipeItModel.md @@ -13,7 +13,7 @@ Updates Model on Snipe-it asset system ## SYNTAX ``` -Set-SnipeItModel [-id] [[-name] ] [[-model_number] ] [[-category_id] ] +Set-SnipeItModel [-id] [[-name] ] [[-model_number] ] [[-category_id] ] [[-manufacturer_id] ] [[-eol] ] [[-custom_fieldset_id] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` @@ -94,14 +94,14 @@ Accept wildcard characters: False ID number of the Asset Model ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` diff --git a/docs/Set-SnipeItUser.md b/docs/Set-SnipeItUser.md index 4fb2642..6bf8467 100644 --- a/docs/Set-SnipeItUser.md +++ b/docs/Set-SnipeItUser.md @@ -13,7 +13,7 @@ Creates a new user ## SYNTAX ``` -Set-SnipeItUser [-id] [[-first_name] ] [[-last_name] ] [[-userName] ] +Set-SnipeItUser [-id] [[-first_name] ] [[-last_name] ] [[-userName] ] [[-jobtitle] ] [[-email] ] [[-phone] ] [[-company_id] ] [[-location_id] ] [[-department_id] ] [[-manager_id] ] [[-employee_num] ] [[-activated] ] [[-notes] ] [-url] [-apiKey] [-WhatIf] [-Confirm] @@ -142,14 +142,14 @@ Accept wildcard characters: False {{ Fill id Description }} ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` diff --git a/docs/Set-SnipeitLocation.md b/docs/Set-SnipeitLocation.md index 0a8b335..6b0f884 100644 --- a/docs/Set-SnipeitLocation.md +++ b/docs/Set-SnipeitLocation.md @@ -13,7 +13,7 @@ Updates Location in Snipe-it asset system ## SYNTAX ``` -Set-SnipeitLocation [-id] [[-name] ] [[-address] ] [[-address2] ] +Set-SnipeitLocation [-id] [[-name] ] [[-address] ] [[-address2] ] [[-state] ] [[-country] ] [[-zip] ] [[-city] ] [[-currency] ] [[-manager_id] ] [[-ldap_ou] ] [[-parent_id] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] @@ -125,14 +125,14 @@ Accept wildcard characters: False {{ Fill id Description }} ```yaml -Type: Int32 +Type: Int32[] Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: 0 -Accept pipeline input: False +Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ```