mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-15 02:35:47 +00:00
Merge 22a5c8321a into d14244d727
This commit is contained in:
commit
37f2a9d1b9
1 changed files with 4 additions and 4 deletions
|
|
@ -9,13 +9,13 @@ Gets a list of Snipe-it activity history
|
||||||
A text string to search the Activity history
|
A text string to search the Activity history
|
||||||
|
|
||||||
.PARAMETER target_type
|
.PARAMETER target_type
|
||||||
Type of target. One from following list 'Accessory','Asset','AssetMaintenance','AssetModel','Category','Company','Component','Consumable','CustomField','Depreciable','Depreciation','Group','Licence','LicenseSeat','Location','Manufacturer','Statuslabel','Supplier','User'
|
Type of target. One from following list 'Accessory','Asset','AssetMaintenance','AssetModel','Category','Company','Component','Consumable','CustomField','Depreciable','Depreciation','Group','License','LicenseSeat','Location','Manufacturer','Statuslabel','Supplier','User'
|
||||||
|
|
||||||
.PARAMETER target_id
|
.PARAMETER target_id
|
||||||
Needed if target_type is specified
|
Needed if target_type is specified
|
||||||
|
|
||||||
.PARAMETER item_type
|
.PARAMETER item_type
|
||||||
Type of target. One from following list 'Accessory','Asset','AssetMaintenance','AssetModel','Category','Company','Component','Consumable','CustomField','Depreciable','Depreciation','Group','Licence','LicenseSeat','Location','Manufacturer','Statuslabel','Supplier','User'
|
Type of target. One from following list 'Accessory','Asset','AssetMaintenance','AssetModel','Category','Company','Component','Consumable','CustomField','Depreciable','Depreciation','Group','License','LicenseSeat','Location','Manufacturer','Statuslabel','Supplier','User'
|
||||||
|
|
||||||
.PARAMETER item_id
|
.PARAMETER item_id
|
||||||
Needed if target_type is specified
|
Needed if target_type is specified
|
||||||
|
|
@ -49,14 +49,14 @@ function Get-SnipeitActivity() {
|
||||||
[string]$search,
|
[string]$search,
|
||||||
|
|
||||||
[Parameter(Mandatory=$false)]
|
[Parameter(Mandatory=$false)]
|
||||||
[ValidateSet('Accessory','Asset','AssetMaintenance','AssetModel','Category','Company','Component','Consumable','CustomField','Depreciable','Depreciation','Group','Licence','LicenseSeat','Location','Manufacturer','Statuslabel','Supplier','User')]
|
[ValidateSet('Accessory','Asset','AssetMaintenance','AssetModel','Category','Company','Component','Consumable','CustomField','Depreciable','Depreciation','Group','License','LicenseSeat','Location','Manufacturer','Statuslabel','Supplier','User')]
|
||||||
[string]$target_type,
|
[string]$target_type,
|
||||||
|
|
||||||
[Parameter(Mandatory=$false)]
|
[Parameter(Mandatory=$false)]
|
||||||
[int]$target_id,
|
[int]$target_id,
|
||||||
|
|
||||||
[Parameter(Mandatory=$false)]
|
[Parameter(Mandatory=$false)]
|
||||||
[ValidateSet('Accessory','Asset','AssetMaintenance','AssetModel','Category','Company','Component','Consumable','CustomField','Depreciable','Depreciation','Group','Licence','LicenseSeat','Location','Manufacturer','Statuslabel','Supplier','User')]
|
[ValidateSet('Accessory','Asset','AssetMaintenance','AssetModel','Category','Company','Component','Consumable','CustomField','Depreciable','Depreciation','Group','License','LicenseSeat','Location','Manufacturer','Statuslabel','Supplier','User')]
|
||||||
[string]$item_type,
|
[string]$item_type,
|
||||||
|
|
||||||
[Parameter(Mandatory=$false)]
|
[Parameter(Mandatory=$false)]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue