Commit graph

204 commits

Author SHA1 Message Date
Stephen
dccbd18add
Revert "Get everything by id" 2021-04-07 11:42:47 +01:00
Stephen
50068f7e62
Merge pull request #75 from PetriAsi/get-by-id
Get everything by id
2021-04-07 11:41:35 +01:00
Stephen
5fea2cf86d
Merge pull request #70 from gvoynov/patch-1
Create Remove-User
2021-04-07 11:39:52 +01:00
Stephen
5a30192d8f
Merge pull request #81 from shcgitpf/patch-2
Updated for current API fields
2021-04-07 11:38:43 +01:00
Stephen
85fa16ae70
Merge pull request #80 from shcgitpf/patch-1
Add 'parent_id' and fix documentation
2021-04-07 11:38:16 +01:00
shcgitpf
63f6ae12e2
Updated for current API fields
The API supports a 'PUT' for modifying parts of an asset, but most of the supported fields were missing (I need to be able to set a location for example which was missing).  I've added all the current API fields and replaced the $values section with Get-ParameterValue.  Not fully tested everything but looking good so far.
2021-03-11 10:04:42 +00:00
shcgitpf
0708776249
Add 'parent_id' and fix documentation
'parent_id' is used by the SnipeIT API but was not present in this module meaning locations could be created, but not have a parent set which severely limited its usefulness.  Adding parent_id allows for example, the creation of buildings under sites, and rooms under buildings.
2021-03-10 11:48:26 +00:00
Petri Asikainen
a4bc6bb3f0 Keep asset tag optional as in api+ more parameters 2021-02-18 19:43:26 +02:00
Petri Asikainen
ddb0036156 same parameter names as api and removed ldap logic 2021-02-11 21:05:06 +02:00
Petri Asikainen
d3fb9762ab Fix for #77 and add activated as parameter 2021-02-11 15:23:34 +02:00
Petri Asikainen
6828244dfa #67 2021-01-29 18:08:19 +02:00
Petri Asikainen
a5e691d8f0 Module name case 2021-01-24 09:30:47 +02:00
Petri Asikainen
22ea1ceeb8 Match case with module directory 2021-01-24 09:27:16 +02:00
Petri Asikainen
e559e71143 Export Reset-AssetOwner 2021-01-19 17:34:41 +02:00
Petri Asikainen
35a4ab68fe Don't require status_id or model_id when updating asset 2021-01-19 12:39:53 +02:00
Petri Asikainen
fdf52ce2e4 Where did this # came from?" 2021-01-19 11:51:08 +02:00
Petri Asikainen
8ae7ff7622 -all parameter for all suported get-commands 2021-01-19 08:02:00 +02:00
Petri Asikainen
1b12288920 -all option for get-asset, returns all results 2021-01-18 11:06:10 +02:00
Petri Asikainen
a09eb8c23e Fixed copypasted typo 2021-01-17 07:14:32 +02:00
Petri Asikainen
3c064938e1 Fixed copypasted typo 2021-01-17 07:13:23 +02:00
Petri Asikainen
608d8f04ca Fixed copypasted typo 2021-01-17 07:11:22 +02:00
Petri Asikainen
953a3453fc Fixed copypasted typo 2021-01-17 07:09:19 +02:00
Petri Asikainen
f688b32c50 Get ids 2021-01-17 06:48:05 +02:00
Petri Asikainen
c3cb7d14b6 Get assets and other items by id 2021-01-17 06:28:08 +02:00
Petri Asikainen
2925106297 Get-asset by serial 2021-01-17 05:42:25 +02:00
Petri Asikainen
d78d5d5281 Added example for asset_tag 2021-01-04 09:01:31 +02:00
Petri Asikainen
9afb3a1be6 Added synopsis for asset_tag 2021-01-04 08:59:23 +02:00
Petri Asikainen
c88dd83323 Get-asset with -asset_tag 2021-01-04 08:53:47 +02:00
Petri Asikainen
f182756b30 Added Set-SnipeitLocation 2021-01-02 14:20:04 +02:00
Petri Asikainen
efe36f81f2 Added Set-SnipeitLocation 2021-01-02 14:19:15 +02:00
gvoynov
1c31e67419
Create Remove-User
Would you consider adding function for deleting users from snipe-it?
2020-12-14 11:53:02 +02:00
Harry John
2f32d12aa1 Added Remove-Asset to FunctionsToExport
Resolves #63
2020-09-03 02:44:17 +01:00
Harry John
fe5e3c6ba2 Added Remove-AssetMaintenance Function 2020-09-03 01:41:32 +01:00
Tim Murphy
13fa97f36f Updated Example 2020-06-29 20:29:49 -05:00
Tim Murphy
af62a28bef Removed unnecessary comment 2020-06-29 20:26:45 -05:00
Tim Murphy
b3826d33ec Changed to hash table, fixed optional switches formatting 2020-06-29 20:24:56 -05:00
Tim Murphy
95eed3330c Added license as valid category_type 2020-06-29 19:42:05 -05:00
Tim Murphy
54b7b4db3b Added parameter validation for category_type 2020-06-29 19:27:04 -05:00
Tim Murphy
ea04619706 Fixed brackets 2020-06-29 19:18:49 -05:00
Tim Murphy
bb53a87cf4 Added New-Category Function 2020-06-29 19:09:45 -05:00
Tim Murphy
4385d87093 Added New-Category Function 2020-06-29 18:50:43 -05:00
Stephen
8214d8db99
Merge pull request #53 from snazy2000/develop
New Release
2020-06-17 09:39:02 +01:00
Stephen
54043c68e4
Merge branch 'master' into develop 2020-06-17 09:36:54 +01:00
Stephen
0e07eed7d1
Well fix that later.. 2020-06-17 09:34:51 +01:00
Stephen
4ae8b11e10
Update SnipeItPS.Tests.ps1 2020-06-17 09:24:31 +01:00
Stephen
3266e6ae91
Hate builds.. 2020-06-17 09:21:58 +01:00
Stephen
bead7cbe8d
Update SnipeItPS.build.ps1 2020-06-17 09:18:44 +01:00
Stephen
28a3d40d51
Update SnipeItPS.build.ps1 2020-06-17 09:18:28 +01:00
Stephen
059f9e3938
Fixes Build 2020-06-17 09:08:13 +01:00
Stephen
bfa0aa1de0
Fix build 2020-06-17 09:02:18 +01:00