Skip to content

Releases: snazy2000/SnipeitPS

v1.10.205

14 Sep 04:01
b5fe626

Choose a tag to compare

Merge pull request #229 from snazy2000/develop

Fixed #227

v1.10.189

03 Sep 16:53
422cf7b

Choose a tag to compare

Fixes:

Fixed powershell 5.1 compatibility that was broken on first v.1.10 release

New secure ways to connect Snipe it

Old Set-SnipeitInfo is now just alias to Connect-PSnipeitPS

While -apiKey parameter still works you can protect your apikeys by using -secureApiKey or
-siteCred parameters

-secureApiKey allow pass apiKey as SecureString

Connect-SnipeitPS -URL 'https://asset.example.com' -secureApiKey 'tokenKey'

Set connection with safely saved credentials, first save credentials

$SnipeCred= Get-Credential -message "Use url as username and apikey as password"
$SnipeCred | Export-CliXml snipecred.xml

..then use your saved credentials like

Connect-SnipeitPS -siteCred (Import-CliXml snipecred.xml)

Fix for content encoding in invoke-snipeitmethod

Version 1.9 introduced bug that converted non ascii characters to ascii
during request.

v1.10.187

03 Sep 13:22
fbef90e

Choose a tag to compare

New secure ways to connect Snipe it

-secureApiKey allow pass apiKey as SecureString

Connect-SnipeitPS -URL 'https://asset.example.com' -secureApiKey 'tokenKey'

Set connection with safely saved credentials, first save credentials

$SnipeCred= Get-Credential -message "Use url as username and apikey as password"
$SnipeCred | Export-CliXml snipecred.xml

..then use your saved credentials like

Connect-SnipeitPS -siteCred (Import-CliXml snipecred.xml)

Fix for content encoding in invoke-snipeitmethod

Version 1.9 introduced bug that converted non ascii characters to ascii
during request.

v1.9.183

20 Aug 15:50
7022b9f

Choose a tag to compare

Merge pull request #215 from snazy2000/develop

Fix Set-SnipeitUser -username parameter case.

v1.9.181

18 Aug 07:21
721e6c5

Choose a tag to compare

Bug fix

Get commands and other api querys are now returning $null if result count is 0 as they did before.

v1.9.179

12 Aug 19:42
2485854

Choose a tag to compare

Bug fix release

Fixed

Reset-SnipeitAccessoryOwner

New features

New-SnipeitAsset allows assets to be checked out when creating

v1.9.176

14 Jul 10:26
64902b5

Choose a tag to compare

Image uploads

New features

Support for image upload and removes. Just specify filename for -image para-
meter when creating or updating item on snipe.
Remove image use -image_delete parameter.

Snipe It version greater than 5.1.8 is needed to support image parameters.

Most of set-commands have new -RequestType parameter that defaults to Patch.
If needed request method can be changed from default.

New Functions

Following new commands have been added to SnipeitPS:

  • New-Supplier
  • Set-Supplier
  • Remove-Supplier
  • Set-Manufacturer

v1.8.167

17 Jun 13:01
9bfa417

Choose a tag to compare

Get-SnipeitAccessories -user_id returns accessories checked out to user id

New features

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

v1.7.162

16 Jun 15:43
208477f

Choose a tag to compare

Merge pull request #176 from snazy2000/develop

Add nullable ints and fix  get asset by serial

v1.7.159

15 Jun 22:15
959c679

Choose a tag to compare

Merge pull request #171 from snazy2000/develop

Develop