2017-11-19 11:43:49 +00:00
|
|
|
[](https://github.com/snazy2000/snipeitps/releases/latest) [](https://ci.appveyor.com/project/snazy2000/snipeitps/branch/master) [](https://www.powershellgallery.com/packages/snipeitps) 
|
2017-11-19 11:37:31 +00:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
2019-04-27 09:51:49 +01:00
|
|
|
## Want to say thanks?
|
|
|
|
|
|
|
|
|
|
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XP29MAD7P3WDN&source=url)
|
|
|
|
|
|
2017-11-19 11:37:31 +00:00
|
|
|
## Instructions
|
|
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
2017-11-19 11:43:49 +00:00
|
|
|
Install SnipeitPS from the PowerShell Gallery `Install-Module` requires PowerShellGet (included in PS v5, or download for v3/v4 via the gallery link)
|
2017-11-19 11:37:31 +00:00
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
|
# Review the help at any time!
|
|
|
|
|
Get-Help about_SnipeitPS
|
|
|
|
|
Get-Command -Module SnipeitPS
|
|
|
|
|
Get-Help Get-Asset -Full # or any other command
|
|
|
|
|
```
|