mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 18:02:30 +00:00
Merge pull request #148 from snazy2000/develop
Fix license related issues
This commit is contained in:
commit
69f498e06f
2 changed files with 3 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ function Get-SnipeitLicense() {
|
|||
[string]$order = "desc",
|
||||
|
||||
[parameter(ParameterSetName='Search')]
|
||||
[ValidateSet('id', 'name', 'purchase_cost', 'expiration_date', 'purchase_order', 'order_number', 'notes', 'purchase_date', 'serial', 'company', 'category', 'license_name', 'license_email', 'free_seats_count', 'seats', 'manufacturer', 'supplier')]
|
||||
[ValidateSet('created_at','id', 'name', 'purchase_cost', 'expiration_date', 'purchase_order', 'order_number', 'notes', 'purchase_date', 'serial', 'company', 'category', 'license_name', 'license_email', 'free_seats_count', 'seats', 'manufacturer', 'supplier')]
|
||||
[string]$sort = "created_at",
|
||||
|
||||
[parameter(ParameterSetName='Search')]
|
||||
|
|
|
|||
|
|
@ -45,7 +45,8 @@ function Set-SnipeitLicenseSeat()
|
|||
[parameter(mandatory = $true)]
|
||||
[int]$seat_id,
|
||||
|
||||
[int]$assigned_id,
|
||||
[Alias('assigned_id')]
|
||||
[int]$assigned_to,
|
||||
|
||||
[int]$asset_id,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue