Closed miicah closed 3 years ago
While it's possible to check out an asset using a cmdlet, there currently isn't one that can check an asset back in.
If you can check a device out you should be able to check it back in.
There is not cmdlet to check a device back in even though the SnipeIT API exposes a route to do so
I have written a new cmdlet, but didn't know how to do a pull request without an open issue.
Please check Reset-SnipeItAssetOwner.
Yes, its odd name for the command, as checkout or checkin does no really change owner, only assing it to someone.
Context
While it's possible to check out an asset using a cmdlet, there currently isn't one that can check an asset back in.
Expected Behavior
If you can check a device out you should be able to check it back in.
Current Behavior
There is not cmdlet to check a device back in even though the SnipeIT API exposes a route to do so
Possible Solution
I have written a new cmdlet, but didn't know how to do a pull request without an open issue.