mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-12 17:32:30 +00:00
Powershell API Wrapper for Snipe-it
| .vscode | ||
| docs | ||
| SnipeitPS | ||
| Tests | ||
| .gitlab-ci.yml | ||
| appveyor.yml | ||
| build.ps1 | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| SnipeItPS.build.ps1 | ||
Instructions
Installation
Install SnipeitPS from the PowerShell Gallery Install-Module requires PowerShellGet (included in PS v5, or download for v3/v4 via the gallery link)
# One time only install: (requires an admin PowerShell window)
Install-Module SnipeitPS
# Check for updates occasionally:
Update-Module SnipeitPS
# To use each session:
Import-Module SnipeitPS
Set-Info -URL 'https://asset.example.com' -apiKey 'tokenKey'
Usage
# Review the help at any time!
Get-Help about_SnipeitPS
Get-Command -Module SnipeitPS
Get-Help Get-Asset -Full # or any other command