You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
# import module to session:Import-Module SnipeitPS
# Set connectionConnect-SnipeitPS-URL 'https://asset.example.com'-apiKey 'tokenKey'# Or set connection with safely saved credentials, first save credentials$SnipeCred=Get-Credential-message "Use url as username and apikey as password"$SnipeCred|Export-CliXml snipecred.xml
# ..then use your saved credentials likeConnect-SnipeitPS-siteCred (Import-CliXml snipecred.xml)
# OR use -secureApiKey that allow pass apiKey as SecureString# if you are usin Microsoft.PowerShell.SecretManagement or likeConnect-SnipeitPS-URL 'https://asset.example.com'-secureApiKey 'tokenKey'
Usage
# Review the help at any time!Get-Help about_SnipeitPS
Get-Command-Module SnipeitPS
Get-HelpGet-SnipeitAsset-Full # or any other command
Reporting bugs and issues
Please use -Verbose switch with command you have problem with.
Then create ticket here with all -Verbose output