Commit graph

9 commits

Author SHA1 Message Date
Petri Asikainen
d4e2360d72 Prefixed all commands and added aliases 2021-05-22 18:44:36 +03:00
Petri Asikainen
44c14d6cc0 Merge branch 'issue#67-powershell7-compatibility' of https://github.com/PetriAsi/SnipeitPS into PetriAsi-issue#67-powershell7-compatibility 2021-05-16 08:11:10 +03: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
Petri Asikainen
35a4ab68fe Don't require status_id or model_id when updating asset 2021-01-19 12:39:53 +02:00
Stephen Maunder
c08f2732d0 Change the required fields. 2018-05-01 08:39:14 +01:00
Stephen Maunder
eb60cf8824 Add more methods as well, detected unauth requests and changed impact levels 2018-01-22 08:32:04 +00:00
Stephen Maunder
ebb99a24fa Update all Methods to call correct Rest Call 2017-12-28 14:17:22 +00:00
Stephen Maunder
2c1454b673 Extra checks 2017-11-20 09:12:54 +00:00
Stephen Maunder
4515fe0834 Update docks and reworked some scripts 2017-11-20 09:07:58 +00:00
Renamed from SnipeitPS/Public/Set-Asset.psd1 (Browse further)