mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
[](https://github.com/snazy2000/SnipeitPS/releases/latest) [![Build status]
|
|
[](https://ci.appveyor.com/project/snazy2000/snipeitps)
|
|
(https://img.shields.io/powershellgallery/dt/snipeitps.svg)](https://www.powershellgallery.com/packages/snipeitps) 
|
|
|
|
---
|
|
|
|
## 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)
|
|
|
|
```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
|
|
```
|