From afeb8df60ec9a7a2716276b99c1cb962b91dfd5a Mon Sep 17 00:00:00 2001 From: Petri Asikainen Date: Mon, 23 Aug 2021 21:59:24 +0300 Subject: [PATCH] updated docs --- SnipeitPS/Public/Connect-SnipeitPS.ps1 | 2 +- docs/about_SnipeitPS.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/SnipeitPS/Public/Connect-SnipeitPS.ps1 b/SnipeitPS/Public/Connect-SnipeitPS.ps1 index 2bb4573..8646189 100644 --- a/SnipeitPS/Public/Connect-SnipeitPS.ps1 +++ b/SnipeitPS/Public/Connect-SnipeitPS.ps1 @@ -4,7 +4,7 @@ .DESCRIPTION Sets apikey and url to connect Snipe-It system. - Based on Set-SnipeitInfo command, what is now just combatipility wrapper + Based on Set-SnipeitInfo command, what is now just compatibility wrapper and calls Connect-SnipeitPS .PARAMETER url diff --git a/docs/about_SnipeitPS.md b/docs/about_SnipeitPS.md index fcb3f69..346ae92 100644 --- a/docs/about_SnipeitPS.md +++ b/docs/about_SnipeitPS.md @@ -10,7 +10,9 @@ Collection of tools that makes interacting with Snipe-it api more pleasant. # EXAMPLES Prepare connection Snipe-It with: -Set-SnipeitInfo -url https://your.site -apikey YourVeryLongApiKey.... +Connect-SnipeitPS -url https://your.site -apikey YourVeryLongApiKey.... + +For secure ways to pass apikey to script, see Get-Help Connect-SnipeitPS -full To search assets use: