mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 01:42:29 +00:00
added alias tag to asset_tag parameter to keep backward compatibility
This commit is contained in:
parent
a3ab7f4fd9
commit
312eb8e8df
1 changed files with 4 additions and 3 deletions
|
|
@ -25,7 +25,7 @@
|
|||
Optional Company id
|
||||
|
||||
.PARAMETER order_number
|
||||
Optional Order number
|
||||
Optional Order number
|
||||
|
||||
.PARAMETER notes
|
||||
Optional Notes
|
||||
|
|
@ -66,7 +66,7 @@ function New-Asset()
|
|||
)]
|
||||
|
||||
Param(
|
||||
|
||||
|
||||
[parameter(mandatory = $true)]
|
||||
[int]$status_id,
|
||||
|
||||
|
|
@ -77,6 +77,7 @@ function New-Asset()
|
|||
[string]$name,
|
||||
|
||||
[parameter(mandatory = $false)]
|
||||
[Alias('tag')]
|
||||
[string]$asset_tag,
|
||||
|
||||
[parameter(mandatory = $false)]
|
||||
|
|
@ -116,7 +117,7 @@ function New-Asset()
|
|||
)
|
||||
|
||||
$Values = . Get-ParameterValue $MyInvocation.MyCommand.Parameters
|
||||
|
||||
|
||||
|
||||
if ($customfields)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue