mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-17 03:35:47 +00:00
added alias for backward combatibility
This commit is contained in:
parent
d4d50d8fd5
commit
3ac100f5cf
1 changed files with 3 additions and 1 deletions
|
|
@ -69,9 +69,11 @@ function New-User() {
|
||||||
|
|
||||||
Param(
|
Param(
|
||||||
[parameter(mandatory = $true)]
|
[parameter(mandatory = $true)]
|
||||||
|
[alias('firstName')]
|
||||||
[string]$first_name,
|
[string]$first_name,
|
||||||
|
|
||||||
[parameter(mandatory = $true)]
|
[parameter(mandatory = $true)]
|
||||||
|
[alias('lastName')]
|
||||||
[string]$last_name,
|
[string]$last_name,
|
||||||
|
|
||||||
[parameter(mandatory = $true)]
|
[parameter(mandatory = $true)]
|
||||||
|
|
@ -98,7 +100,7 @@ function New-User() {
|
||||||
[int]$manager_id,
|
[int]$manager_id,
|
||||||
|
|
||||||
[string]$employee_num,
|
[string]$employee_num,
|
||||||
|
[alias('ldap_user')]
|
||||||
[bool]$ldap_import = $false,
|
[bool]$ldap_import = $false,
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue