Added example how to checkin licenseseats

This commit is contained in:
Petri Asikainen 2021-06-17 10:40:54 +03:00
parent bd21037466
commit baabd3eaa8

View file

@ -23,13 +23,17 @@
User's API Key for Snipeit, can be set using Set-SnipeitInfo command User's API Key for Snipeit, can be set using Set-SnipeitInfo command
.EXAMPLE .EXAMPLE
Set-SnipeitLicenceSeat -ID 1 -seat_id 1 -assigned_id 3 -Verbose Set-SnipeitLicenceSeat -ID 1 -seat_id 1 -assigned_id 3
Checkout licence to user id 3 Checkout licence to user id 3
.EXAMPLE .EXAMPLE
Set-SnipeitLicenceSeat -ID 1 -seat_id 1 -asset_id 3 -Verbose Set-SnipeitLicenceSeat -ID 1 -seat_id 1 -asset_id 3
Checkout licence to asset id 3 Checkout licence to asset id 3
.EXAMPLE
Set-SnipeitLicenceSeat -ID 1 -seat_id 1 -asset_id $null -assigned_id 3
Checkin licence seat id 1 of licence id 1
#> #>
function Set-SnipeitLicenseSeat() function Set-SnipeitLicenseSeat()
{ {