diff --git a/docs/New-SnipeitAccessory.md b/docs/New-SnipeitAccessory.md index b2fae75..27acd04 100644 --- a/docs/New-SnipeitAccessory.md +++ b/docs/New-SnipeitAccessory.md @@ -16,8 +16,7 @@ Creates new accessory on Snipe-It system New-SnipeitAccessory [-name] [-qty] [-category_id] [[-company_id] ] [[-manufacturer_id] ] [[-order_number] ] [[-model_number] ] [[-purchase_cost] ] [[-purchase_date] ] [[-min_amt] ] [[-supplier_id] ] [[-location_id] ] - [[-image] ] [-image_delete] [-url] [-apiKey] [-WhatIf] [-Confirm] - [] + [[-image] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -78,7 +77,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Accessory image fileame and path ```yaml Type: String @@ -92,21 +91,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -image_delete -Remove current image - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -location_id ID number of the location the accessory is assigned to diff --git a/docs/New-SnipeitAsset.md b/docs/New-SnipeitAsset.md index f1eedc1..907ab69 100644 --- a/docs/New-SnipeitAsset.md +++ b/docs/New-SnipeitAsset.md @@ -16,8 +16,8 @@ Add a new Asset to Snipe-it asset system New-SnipeitAsset [-status_id] [-model_id] [[-name] ] [[-asset_tag] ] [[-serial] ] [[-company_id] ] [[-order_number] ] [[-notes] ] [[-warranty_months] ] [[-purchase_cost] ] [[-purchase_date] ] - [[-supplier_id] ] [[-rtd_location_id] ] [[-image] ] [-image_delete] [-url] - [-apiKey] [[-customfields] ] [-WhatIf] [-Confirm] [] + [[-supplier_id] ] [[-rtd_location_id] ] [[-image] ] [-url] [-apiKey] + [[-customfields] ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -107,7 +107,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Asset image filename and path ```yaml Type: String @@ -121,21 +121,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -image_delete -Remove current image - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -model_id Required Model ID of the asset, this can be got using Get-Model diff --git a/docs/New-SnipeitCategory.md b/docs/New-SnipeitCategory.md index e25ed93..927766d 100644 --- a/docs/New-SnipeitCategory.md +++ b/docs/New-SnipeitCategory.md @@ -14,8 +14,8 @@ Create a new Snipe-IT Category ``` New-SnipeitCategory [-name] [-category_type] [[-eula_text] ] [-use_default_eula] - [-require_acceptance] [-checkin_email] [[-image] ] [-image_delete] [-url] [-apiKey] - [-WhatIf] [-Confirm] [] + [-require_acceptance] [-checkin_email] [[-image] ] [-url] [-apiKey] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION @@ -91,7 +91,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Category image filename and path ```yaml Type: String @@ -105,21 +105,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -image_delete -Remove current image - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -name Name of new category to be created diff --git a/docs/New-SnipeitCompany.md b/docs/New-SnipeitCompany.md index 667ca2f..320c3d9 100644 --- a/docs/New-SnipeitCompany.md +++ b/docs/New-SnipeitCompany.md @@ -13,8 +13,8 @@ Creates a new Company ## SYNTAX ``` -New-SnipeitCompany [-name] [[-image] ] [-image_delete] [-url] [-apiKey] - [-WhatIf] [-Confirm] [] +New-SnipeitCompany [-name] [[-image] ] [-url] [-apiKey] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -45,7 +45,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Company image filename and path ```yaml Type: String @@ -59,21 +59,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -image_delete -Remove current image - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -name Comapany name diff --git a/docs/New-SnipeitComponent.md b/docs/New-SnipeitComponent.md index b00755b..3f230a2 100644 --- a/docs/New-SnipeitComponent.md +++ b/docs/New-SnipeitComponent.md @@ -15,8 +15,7 @@ Create a new component ``` New-SnipeitComponent [-name] [-category_id] [-qty] [[-company_id] ] [[-location_id] ] [[-order_number] ] [[-purchase_date] ] [[-purchase_cost] ] - [[-image] ] [-image_delete] [-url] [-apiKey] [-WhatIf] [-Confirm] - [] + [[-image] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -77,7 +76,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Component image filename and path ```yaml Type: String @@ -91,21 +90,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -image_delete -Remove current image - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -location_id ID number of the location the accessory is assigned to diff --git a/docs/New-SnipeitConsumable.md b/docs/New-SnipeitConsumable.md index 9fba0eb..4778e65 100644 --- a/docs/New-SnipeitConsumable.md +++ b/docs/New-SnipeitConsumable.md @@ -16,8 +16,8 @@ Add a new Consumable to Snipe-it asset system New-SnipeitConsumable [-name] [-qty] [-category_id] [[-min_amt] ] [[-company_id] ] [[-order_number] ] [[-manufacturer_id] ] [[-location_id] ] [[-requestable] ] [[-purchase_date] ] [[-purchase_cost] ] - [[-model_number] ] [[-item_no] ] [[-image] ] [-image_delete] [-url] - [-apiKey] [-WhatIf] [-Confirm] [] + [[-model_number] ] [[-item_no] ] [[-image] ] [-url] [-apiKey] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -79,7 +79,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Consumable Image filename and path ```yaml Type: String @@ -93,21 +93,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -image_delete -Remove current image - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -item_no Item number for the consumable diff --git a/docs/New-SnipeitDepartment.md b/docs/New-SnipeitDepartment.md index c60f4a5..cd96ed7 100644 --- a/docs/New-SnipeitDepartment.md +++ b/docs/New-SnipeitDepartment.md @@ -61,7 +61,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Department Image filename and path ```yaml Type: String @@ -76,7 +76,7 @@ Accept wildcard characters: False ``` ### -image_delete -Remove current image +{{ Fill image_delete Description }} ```yaml Type: SwitchParameter diff --git a/docs/New-SnipeitLocation.md b/docs/New-SnipeitLocation.md index 93c927d..744b3f2 100644 --- a/docs/New-SnipeitLocation.md +++ b/docs/New-SnipeitLocation.md @@ -122,7 +122,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Location Image filename and path ```yaml Type: String @@ -137,7 +137,7 @@ Accept wildcard characters: False ``` ### -image_delete -Remove current image +{{ Fill image_delete Description }} ```yaml Type: SwitchParameter diff --git a/docs/New-SnipeitManufacturer.md b/docs/New-SnipeitManufacturer.md index 2ed5dcb..d5e266a 100644 --- a/docs/New-SnipeitManufacturer.md +++ b/docs/New-SnipeitManufacturer.md @@ -45,7 +45,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Manufacturer Image filename and path ```yaml Type: String diff --git a/docs/New-SnipeitModel.md b/docs/New-SnipeitModel.md index d46eefb..564f431 100644 --- a/docs/New-SnipeitModel.md +++ b/docs/New-SnipeitModel.md @@ -14,8 +14,8 @@ Add a new Model to Snipe-it asset system ``` New-SnipeitModel [-name] [[-model_number] ] [-category_id] [-manufacturer_id] - [[-eol] ] [-fieldset_id] [[-image] ] [-image_delete] [-url] [-apiKey] - [-WhatIf] [-Confirm] [] + [[-eol] ] [-fieldset_id] [[-image] ] [-url] [-apiKey] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION @@ -91,7 +91,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +Asset model Image filename and path ```yaml Type: String @@ -105,21 +105,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -image_delete -Remove current image - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -manufacturer_id Manufacturer ID that the asset belongs to this can be got using Get-Manufacturer diff --git a/docs/New-SnipeitSupplier.md b/docs/New-SnipeitSupplier.md index 670dfe5..3892b88 100644 --- a/docs/New-SnipeitSupplier.md +++ b/docs/New-SnipeitSupplier.md @@ -1,4 +1,4 @@ ---- +--- external help file: SnipeitPS-help.xml Module Name: SnipeitPS online version: diff --git a/docs/New-SnipeitUser.md b/docs/New-SnipeitUser.md index 43c9334..e830d0a 100644 --- a/docs/New-SnipeitUser.md +++ b/docs/New-SnipeitUser.md @@ -16,8 +16,8 @@ Creates a new user New-SnipeitUser [-first_name] [-last_name] [-username] [[-password] ] [[-activated] ] [[-notes] ] [[-jobtitle] ] [[-email] ] [[-phone] ] [[-company_id] ] [[-location_id] ] [[-department_id] ] [[-manager_id] ] - [[-employee_num] ] [[-ldap_import] ] [[-image] ] [-image_delete] [-url] - [-apiKey] [-WhatIf] [-Confirm] [] + [[-employee_num] ] [[-ldap_import] ] [[-image] ] [-url] [-apiKey] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -139,7 +139,7 @@ Accept wildcard characters: False ``` ### -image -Image file name and path for item +User Image file name and path ```yaml Type: String @@ -153,21 +153,6 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -image_delete -Remove current image - -```yaml -Type: SwitchParameter -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: False -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -jobtitle Users job tittle diff --git a/docs/Remove-SnipeitSupplier.md b/docs/Remove-SnipeitSupplier.md index 031b2e8..4fcae40 100644 --- a/docs/Remove-SnipeitSupplier.md +++ b/docs/Remove-SnipeitSupplier.md @@ -1,4 +1,4 @@ ---- +--- external help file: SnipeitPS-help.xml Module Name: SnipeitPS online version: diff --git a/docs/Set-SnipeitAccessory.md b/docs/Set-SnipeitAccessory.md index cc4b3eb..3d689f6 100644 --- a/docs/Set-SnipeitAccessory.md +++ b/docs/Set-SnipeitAccessory.md @@ -16,8 +16,8 @@ Updates accessory on Snipe-It system Set-SnipeitAccessory [-id] [[-name] ] [[-qty] ] [[-category_id] ] [[-company_id] ] [[-manufacturer_id] ] [[-model_number] ] [[-order_number] ] [[-purchase_cost] ] [[-purchase_date] ] [[-min_amt] ] [[-supplier_id] ] - [[-location_id] ] [[-image] ] [-image_delete] [-url] [-apiKey] [-WhatIf] - [-Confirm] [] + [[-location_id] ] [[-image] ] [-image_delete] [[-RequestType] ] [-url] + [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -41,7 +41,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 16 +Position: 17 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -257,6 +257,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 15 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -supplier_id ID number of the supplier for this accessory @@ -281,7 +297,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 15 +Position: 16 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitCategory.md b/docs/Set-SnipeitCategory.md index e78566c..ffa7b95 100644 --- a/docs/Set-SnipeitCategory.md +++ b/docs/Set-SnipeitCategory.md @@ -15,8 +15,8 @@ Create a new Snipe-IT Category ``` Set-SnipeitCategory [-id] [[-name] ] [[-category_type] ] [[-eula_text] ] [[-use_default_eula] ] [[-require_acceptance] ] [[-checkin_email] ] - [[-image] ] [-image_delete] [-url] [-apiKey] [-WhatIf] [-Confirm] - [] + [[-image] ] [-image_delete] [[-RequestType] ] [-url] [-apiKey] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION @@ -40,7 +40,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 10 +Position: 11 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -151,6 +151,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 9 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -require_acceptance If switch is present, require users to confirm acceptance of assets in this category @@ -175,7 +191,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 9 +Position: 10 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitCompany.md b/docs/Set-SnipeitCompany.md index d23077a..6c32fed 100644 --- a/docs/Set-SnipeitCompany.md +++ b/docs/Set-SnipeitCompany.md @@ -13,8 +13,8 @@ Updates company name ## SYNTAX ``` -Set-SnipeitCompany [-id] [-name] [[-image] ] [-image_delete] [-url] - [-apiKey] [-WhatIf] [-Confirm] [] +Set-SnipeitCompany [-id] [-name] [[-image] ] [-image_delete] + [[-RequestType] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -38,7 +38,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 5 +Position: 6 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -104,6 +104,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 4 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -url URL of Snipeit system, can be set using Set-SnipeitInfo command @@ -113,7 +129,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 4 +Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitComponent.md b/docs/Set-SnipeitComponent.md index b2cc8ad..38312ae 100644 --- a/docs/Set-SnipeitComponent.md +++ b/docs/Set-SnipeitComponent.md @@ -15,8 +15,8 @@ Updates component ``` Set-SnipeitComponent [-id] [-qty] [[-min_amt] ] [[-name] ] [[-company_id] ] [[-location_id] ] [[-order_number] ] [[-purchase_date] ] - [[-purchase_cost] ] [[-image] ] [-image_delete] [-url] [-apiKey] [-WhatIf] - [-Confirm] [] + [[-purchase_cost] ] [[-image] ] [-image_delete] [[-RequestType] ] [-url] + [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -40,7 +40,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 12 +Position: 13 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -211,6 +211,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 11 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -url URL of Snipeit system, can be set using Set-SnipeitInfo command @@ -220,7 +236,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 11 +Position: 12 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitConsumable.md b/docs/Set-SnipeitConsumable.md index ecdde9c..ec673c0 100644 --- a/docs/Set-SnipeitConsumable.md +++ b/docs/Set-SnipeitConsumable.md @@ -16,8 +16,8 @@ Add a new Consumable to Snipe-it asset system Set-SnipeitConsumable [-id] [[-name] ] [[-qty] ] [[-category_id] ] [[-min_amt] ] [[-company_id] ] [[-order_number] ] [[-manufacturer_id] ] [[-location_id] ] [[-requestable] ] [[-purchase_date] ] [[-purchase_cost] ] - [[-model_number] ] [[-item_no] ] [[-image] ] [-image_delete] [-url] - [-apiKey] [-WhatIf] [-Confirm] [] + [[-model_number] ] [[-item_no] ] [[-image] ] [-image_delete] [[-RequestType] ] + [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -42,7 +42,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 17 +Position: 18 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -288,6 +288,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 16 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -url URL of Snipeit system, can be set using Set-SnipeitInfo command @@ -297,7 +313,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 16 +Position: 17 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitCustomField.md b/docs/Set-SnipeitCustomField.md index 78fe1f3..8606f6d 100644 --- a/docs/Set-SnipeitCustomField.md +++ b/docs/Set-SnipeitCustomField.md @@ -15,7 +15,8 @@ Add a new Custom Field to Snipe-it asset system ``` Set-SnipeitCustomField [-id] [[-name] ] [[-help_text] ] [-element] [[-format] ] [[-field_values] ] [[-field_encrypted] ] [[-show_in_email] ] - [[-custom_format] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] + [[-custom_format] ] [[-RequestType] ] [-url] [-apiKey] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -39,7 +40,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 11 +Position: 12 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -166,6 +167,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Put you could use Patch if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 10 +Default value: Put +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -show_in_email Whether or not to show the custom field in email notifications @@ -190,7 +207,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 10 +Position: 11 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitDepartment.md b/docs/Set-SnipeitDepartment.md index ca6e6a1..e3de315 100644 --- a/docs/Set-SnipeitDepartment.md +++ b/docs/Set-SnipeitDepartment.md @@ -14,8 +14,8 @@ Updates a department ``` Set-SnipeitDepartment [-id] [[-name] ] [[-company_id] ] [[-location_id] ] - [[-manager_id] ] [[-notes] ] [[-image] ] [-image_delete] [-url] - [-apiKey] [-WhatIf] [-Confirm] [] + [[-manager_id] ] [[-notes] ] [[-image] ] [-image_delete] [[-RequestType] ] + [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` ## 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 @@ -165,6 +165,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 8 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -url URL of Snipeit system, can be set using Set-SnipeitInfo command @@ -174,7 +190,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 8 +Position: 9 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitLicense.md b/docs/Set-SnipeitLicense.md index 8730895..00a36ea 100644 --- a/docs/Set-SnipeitLicense.md +++ b/docs/Set-SnipeitLicense.md @@ -18,7 +18,7 @@ Set-SnipeitLicense [-id] [[-name] ] [[-seats] ] [[-cate [[-license_name] ] [[-maintained] ] [[-manufacturer_id] ] [[-notes] ] [[-order_number] ] [[-purchase_cost] ] [[-purchase_date] ] [[-reassignable] ] [[-serial] ] [[-supplier_id] ] [[-termination_date] ] - [-url] [-apiKey] [-WhatIf] [-Confirm] [] + [[-RequestType] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -42,7 +42,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 20 +Position: 21 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -258,6 +258,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 19 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -seats Number of license seats owned. @@ -327,7 +343,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 19 +Position: 20 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitLicenseSeat.md b/docs/Set-SnipeitLicenseSeat.md index 7f53a74..f8ba02b 100644 --- a/docs/Set-SnipeitLicenseSeat.md +++ b/docs/Set-SnipeitLicenseSeat.md @@ -14,7 +14,8 @@ Set license seat or checkout license seat ``` Set-SnipeitLicenseSeat [-id] [-seat_id] [[-assigned_to] ] [[-asset_id] ] - [[-note] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] + [[-note] ] [[-RequestType] ] [-url] [-apiKey] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -51,7 +52,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 7 +Position: 8 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -117,6 +118,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 6 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -seat_id {{ Fill seat_id Description }} @@ -141,7 +158,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 6 +Position: 7 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitLocation.md b/docs/Set-SnipeitLocation.md index 4a8b9f1..c1ffa14 100644 --- a/docs/Set-SnipeitLocation.md +++ b/docs/Set-SnipeitLocation.md @@ -16,7 +16,7 @@ Updates Location in Snipe-it asset system Set-SnipeitLocation [-id] [[-name] ] [[-address] ] [[-address2] ] [[-state] ] [[-country] ] [[-zip] ] [[-city] ] [[-currency] ] [[-manager_id] ] [[-ldap_ou] ] [[-parent_id] ] [[-image] ] [-image_delete] - [-url] [-apiKey] [-WhatIf] [-Confirm] [] + [[-RequestType] ] [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -70,7 +70,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 15 +Position: 16 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -226,6 +226,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 14 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -state Address State @@ -250,7 +266,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 14 +Position: 15 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitManufacturer.md b/docs/Set-SnipeitManufacturer.md new file mode 100644 index 0000000..18ea40e --- /dev/null +++ b/docs/Set-SnipeitManufacturer.md @@ -0,0 +1,163 @@ +--- +external help file: SnipeitPS-help.xml +Module Name: SnipeitPS +online version: +schema: 2.0.0 +--- + +# Set-SnipeitManufacturer + +## SYNOPSIS +Add a new Manufacturer to Snipe-it asset system + +## SYNTAX + +``` +Set-SnipeitManufacturer [-Name] [[-image] ] [-image_delete] [[-RequestType] ] + [-url] [-apiKey] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Long description + +## EXAMPLES + +### EXAMPLE 1 +``` +New-SnipeitManufacturer -name "HP" +``` + +## PARAMETERS + +### -apiKey +Users API Key for Snipeit, can be set using Set-SnipeitInfo command + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: True +Position: 5 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -image +Image file name and path for item + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 2 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -image_delete +Remove current image + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the Manufacturer + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: True +Position: 1 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 3 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -url +URL of Snipeit system, can be set using Set-SnipeitInfo command + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: True +Position: 4 +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS diff --git a/docs/Set-SnipeitModel.md b/docs/Set-SnipeitModel.md index 4890448..41bb999 100644 --- a/docs/Set-SnipeitModel.md +++ b/docs/Set-SnipeitModel.md @@ -15,7 +15,8 @@ Updates Model on Snipe-it asset system ``` Set-SnipeitModel [-id] [[-name] ] [[-model_number] ] [[-category_id] ] [[-manufacturer_id] ] [[-eol] ] [[-custom_fieldset_id] ] [[-image] ] - [-image_delete] [-url] [-apiKey] [-WhatIf] [-Confirm] [] + [-image_delete] [[-RequestType] ] [-url] [-apiKey] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -39,7 +40,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 10 +Position: 11 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -180,6 +181,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 9 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -url URL of Snipeit system, can be set using Set-SnipeitInfo command @@ -189,7 +206,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 9 +Position: 10 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitStatus.md b/docs/Set-SnipeitStatus.md index 2e23b50..e8f37c0 100644 --- a/docs/Set-SnipeitStatus.md +++ b/docs/Set-SnipeitStatus.md @@ -14,8 +14,8 @@ Sets Snipe-it Status Labels ``` Set-SnipeitStatus [-id] [[-name] ] [-type] [[-notes] ] [[-color] ] - [[-show_in_nav] ] [[-default_label] ] [-url] [-apiKey] [-WhatIf] - [-Confirm] [] + [[-show_in_nav] ] [[-default_label] ] [[-RequestType] ] [-url] + [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -44,7 +44,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 9 +Position: 10 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -125,6 +125,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 8 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -show_in_nav 1 or 0 - determine whether the status label should show in the left-side nav of the web GUI @@ -164,7 +180,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 8 +Position: 9 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/Set-SnipeitSupplier.md b/docs/Set-SnipeitSupplier.md index 4cd4945..c1e35e6 100644 --- a/docs/Set-SnipeitSupplier.md +++ b/docs/Set-SnipeitSupplier.md @@ -1,4 +1,4 @@ ---- +--- external help file: SnipeitPS-help.xml Module Name: SnipeitPS online version: diff --git a/docs/Set-SnipeitUser.md b/docs/Set-SnipeitUser.md index 90fa582..d2ca9f5 100644 --- a/docs/Set-SnipeitUser.md +++ b/docs/Set-SnipeitUser.md @@ -16,8 +16,8 @@ Creates a new user Set-SnipeitUser [-id] [[-first_name] ] [[-last_name] ] [[-userName] ] [[-jobtitle] ] [[-email] ] [[-phone] ] [[-password] ] [[-company_id] ] [[-location_id] ] [[-department_id] ] [[-manager_id] ] [[-employee_num] ] - [[-activated] ] [[-notes] ] [[-image] ] [-image_delete] [-url] - [-apiKey] [-WhatIf] [-Confirm] [] + [[-activated] ] [[-notes] ] [[-image] ] [-image_delete] [[-RequestType] ] + [-url] [-apiKey] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -57,7 +57,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 18 +Position: 19 Default value: None Accept pipeline input: False Accept wildcard characters: False @@ -288,6 +288,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RequestType +Http request type to send Snipe IT system. +Defaults to Patch you could use Put if needed. + +```yaml +Type: String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 17 +Default value: Patch +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -url URL of Snipeit system, can be set using Set-SnipeitInfo command @@ -297,7 +313,7 @@ Parameter Sets: (All) Aliases: Required: True -Position: 17 +Position: 18 Default value: None Accept pipeline input: False Accept wildcard characters: False diff --git a/docs/SnipeitPS.md b/docs/SnipeitPS.md index aba8a60..2378a40 100644 --- a/docs/SnipeitPS.md +++ b/docs/SnipeitPS.md @@ -104,6 +104,9 @@ Add a new Manufacturer to Snipe-it asset system ### [New-SnipeitModel](New-SnipeitModel.md) Add a new Model to Snipe-it asset system +### [New-SnipeitSupplier](New-SnipeitSupplier.md) +Creates a supplier + ### [New-SnipeitUser](New-SnipeitUser.md) Creates a new user @@ -146,6 +149,9 @@ Removes manufacturer from Snipe-it asset system ### [Remove-SnipeitModel](Remove-SnipeitModel.md) Removes Asset model from Snipe-it asset system +### [Remove-SnipeitSupplier](Remove-SnipeitSupplier.md) +Removes supplier from Snipe-it asset system + ### [Remove-SnipeitUser](Remove-SnipeitUser.md) Removes User from Snipe-it asset system @@ -197,12 +203,18 @@ Set license seat or checkout license seat ### [Set-SnipeitLocation](Set-SnipeitLocation.md) Updates Location in Snipe-it asset system +### [Set-SnipeitManufacturer](Set-SnipeitManufacturer.md) +Add a new Manufacturer to Snipe-it asset system + ### [Set-SnipeitModel](Set-SnipeitModel.md) Updates Model on Snipe-it asset system ### [Set-SnipeitStatus](Set-SnipeitStatus.md) Sets Snipe-it Status Labels +### [Set-SnipeitSupplier](Set-SnipeitSupplier.md) +Modify the supplier + ### [Set-SnipeitUser](Set-SnipeitUser.md) Creates a new user