2017-11-18 18:18:41 +00:00
|
|
|
# Change Log
|
|
|
|
|
|
|
|
|
|
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/).
|
|
|
|
|
|
2021-06-17 15:52:20 +03:00
|
|
|
|
|
|
|
|
# [v.1.8.x] - 2021-06-17
|
|
|
|
|
|
|
|
|
|
## Support for new Snipe it endpoints
|
|
|
|
|
|
|
|
|
|
## New features
|
|
|
|
|
|
2021-06-17 15:53:42 +03:00
|
|
|
Get-SnipeitAccessories -user_id
|
2021-06-17 15:52:20 +03:00
|
|
|
returns accessories checked out to user id
|
|
|
|
|
|
|
|
|
|
Get-SnipeitAsset -user_id
|
|
|
|
|
Return Assets checked out to user id
|
|
|
|
|
|
|
|
|
|
Get-SnipeitAsset -component_id
|
|
|
|
|
Returns assets with specific component id
|
|
|
|
|
|
|
|
|
|
Get-SnipeitLicense -user_id
|
|
|
|
|
Get licenses checked out to user ID
|
|
|
|
|
|
|
|
|
|
Get-SnipeitLicense -asset_id
|
|
|
|
|
Get licenses checked out to asset ID
|
|
|
|
|
|
|
|
|
|
Get-SnipeitUser -accessory_id
|
|
|
|
|
Get users that have specific accessory id checked out
|
|
|
|
|
|
2021-06-14 10:48:16 +03:00
|
|
|
# [v.1.7.x] - 2021-06-14
|
|
|
|
|
|
|
|
|
|
## Consumables
|
|
|
|
|
|
|
|
|
|
## New features
|
|
|
|
|
Added support for consumables
|
|
|
|
|
|
|
|
|
|
## New functions
|
|
|
|
|
- New-SnipeitConsumable
|
|
|
|
|
- Get-SnipeitConsumable
|
|
|
|
|
- Set-SnipeitConsumable
|
|
|
|
|
- Remove-SnipeitConsumable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# [v.1.6.x] - 2021-06-14
|
2021-06-14 00:19:47 +03:00
|
|
|
|
|
|
|
|
## Remove more things ja set some more
|
|
|
|
|
|
|
|
|
|
### New features
|
|
|
|
|
Added some set and remove functions. Pipelineinput supported
|
|
|
|
|
for all remove functions.
|
|
|
|
|
|
|
|
|
|
### New functions
|
|
|
|
|
- Remove-SnipeitAccessory
|
|
|
|
|
- Remove-SnipeitCategory
|
|
|
|
|
- Remove-SnipeitCompany
|
|
|
|
|
- Remove-SnipeitComponent
|
|
|
|
|
- Remove-SnipeitCustomField
|
|
|
|
|
- Remove-SnipeitDepartment
|
|
|
|
|
- Remove-SnipeitLicense
|
|
|
|
|
- Remove-SnipeitLocation
|
|
|
|
|
- Remove-SnipeitManufacturer
|
|
|
|
|
- Remove-SnipeitModel
|
|
|
|
|
- Set-SnipeitCategory
|
|
|
|
|
- Set-SnipeitCompany
|
|
|
|
|
- Set-SnipeitCustomField
|
|
|
|
|
- Set-SnipeitDepartment
|
|
|
|
|
- Set-SnipeitStatus
|
|
|
|
|
|
|
|
|
|
|
2021-06-08 16:30:12 +03:00
|
|
|
# [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
|
2021-06-08 22:04:25 +03:00
|
|
|
Get-SnipeitAsset -model_id 213 | Set-SnipeitAsset -notes 'This is nice!'
|
2021-06-08 16:30:12 +03:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2021-06-05 08:28:37 +03:00
|
|
|
# [v1.4.x] - 2021-05-27
|
|
|
|
|
|
|
|
|
|
## More Activity
|
|
|
|
|
|
|
|
|
|
### New features
|
2021-06-08 22:04:25 +03:00
|
|
|
Snipeit activity history is now searchable. So finding out checked out the
|
2021-06-05 08:28:37 +03:00
|
|
|
assest its easy. Api support many different target or item types that can
|
|
|
|
|
be uses as filter. Searchable types are 'Accessory','Asset','AssetMaintenance'
|
|
|
|
|
,'AssetModel','Category','Company','Component','Consumable','CustomField',
|
|
|
|
|
,'Group','Licence','LicenseSeat','Location','Manufacturer','Statuslabel',
|
|
|
|
|
'Supplier','User'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### New Functions
|
2021-06-08 20:23:32 +03:00
|
|
|
- Get-SnipeitActivity Get and search Snipe-It change history.
|
2021-06-05 08:28:37 +03:00
|
|
|
|
|
|
|
|
|
2021-05-27 15:11:28 +03:00
|
|
|
# [v1.3.x] - 2021-05-27
|
|
|
|
|
|
|
|
|
|
## Checking out accessories
|
|
|
|
|
|
|
|
|
|
### New features
|
2021-06-08 20:23:32 +03:00
|
|
|
You can specify Put or Patch for Set-SnipeitAsset when updating assets.
|
|
|
|
|
Set-SnipeitLocation new -city parameter
|
2021-05-27 15:11:28 +03:00
|
|
|
|
|
|
|
|
### New Functions
|
2021-06-08 20:23:32 +03:00
|
|
|
- Set-SnipeitAccessoryOwner checkout accessory
|
|
|
|
|
- Get-SnipeitAccessoryOwner list checkedout accessories
|
|
|
|
|
- Reset-SnipeitAccessoryOwner checkin accessory
|
2021-05-27 15:11:28 +03:00
|
|
|
|
|
|
|
|
### Fixes
|
2021-06-08 20:23:32 +03:00
|
|
|
- Set-SnipeitAsset fixed datetime and name inputs #126,128
|
2021-05-27 15:11:28 +03:00
|
|
|
-
|
|
|
|
|
|
2021-05-24 11:29:43 +03:00
|
|
|
# [v1.2.x] - 2021-05-24
|
|
|
|
|
|
2021-06-08 20:20:03 +03:00
|
|
|
## Prefixing SnipeitPS
|
2021-05-24 11:29:43 +03:00
|
|
|
|
|
|
|
|
### New Features
|
2021-06-08 20:23:32 +03:00
|
|
|
All commands are now prefixed like Set-Info -> Set-SnipeitInfo.
|
2021-05-24 11:29:43 +03:00
|
|
|
To keep compatibility all old commands are available as aliases.
|
2021-06-08 20:23:32 +03:00
|
|
|
To update existing scripts theres Update-SnipeitAlias command.
|
2021-05-24 11:29:43 +03:00
|
|
|
|
|
|
|
|
### New fuctions
|
|
|
|
|
- Update-SnipeitAlias Tool to update existing scripts
|
2021-06-08 20:23:32 +03:00
|
|
|
- Get-SnipeitLicenceSeat lists license seats
|
|
|
|
|
- Set-SnipeitLicenseSeat Set and checkouts/in license seats
|
2021-05-24 11:29:43 +03:00
|
|
|
Licenseseat api is supported from Snipe-It release => v5.1.5
|
|
|
|
|
|
|
|
|
|
### New fixes
|
2021-06-08 20:23:32 +03:00
|
|
|
Added -id parameter support to support Get-SnipeitCustomField and
|
|
|
|
|
Get-SnipeitFieldSet commands
|
2021-05-24 11:29:43 +03:00
|
|
|
|
2021-05-18 16:25:56 +03:00
|
|
|
# [v1.1.x] - 2021-05-18
|
|
|
|
|
|
|
|
|
|
## Pull request rollup release. Lots of new features including:
|
|
|
|
|
|
|
|
|
|
### New features
|
2021-06-08 20:20:03 +03:00
|
|
|
- Powershell 7 compatibility. So you can use SnipeitPS on macos or linux .
|
2021-05-18 16:25:56 +03:00
|
|
|
- Get every asset, model, licence with snipeit id by using -id parameter
|
|
|
|
|
- Get assets also by -asset_tag -or serialnumber
|
|
|
|
|
- Get functions also return all results from snipe when using -all parameter (by @PetriAsi)
|
|
|
|
|
|
|
|
|
|
### New functions
|
|
|
|
|
- Reset-AssetOwner by @lunchboxrts
|
|
|
|
|
- Remove-Asset by @sheppyh
|
|
|
|
|
- Added Remove-AssetMaintenance by @sheppyh
|
|
|
|
|
- Remove-User @gvoynov
|
|
|
|
|
|
|
|
|
|
### Fixes
|
|
|
|
|
- Fixed version number on powershell gallery
|
|
|
|
|
- Fixed Set-AssetOwner when checking asset out to an other asset.
|
|
|
|
|
|
|
|
|
|
## [v1.0] - 2017-11-18
|