Skip to content

Commit

Permalink
Merge pull request #267 from snazy2000/develop
Browse files Browse the repository at this point in the history
Publish develop
  • Loading branch information
PetriAsi authored Mar 30, 2022
2 parents 72215fa + 758c514 commit 98095b6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
2 changes: 2 additions & 0 deletions SnipeitPS/Public/Set-SnipeitUser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ function Set-SnipeitUser() {

[string]$notes,

[bool]$ldap_import,

[ValidateScript({Test-Path $_})]
[string]$image,

Expand Down
27 changes: 21 additions & 6 deletions docs/Set-SnipeitUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Creates a new user
Set-SnipeitUser [-id] <Int32[]> [[-first_name] <String>] [[-last_name] <String>] [[-username] <String>]
[[-jobtitle] <String>] [[-email] <String>] [[-phone] <String>] [[-password] <String>] [[-company_id] <Int32>]
[[-location_id] <Int32>] [[-department_id] <Int32>] [[-manager_id] <Int32>] [[-employee_num] <String>]
[[-activated] <Boolean>] [[-notes] <String>] [[-image] <String>] [-image_delete] [[-RequestType] <String>]
[[-url] <String>] [[-apiKey] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
[[-activated] <Boolean>] [[-notes] <String>] [[-ldap_import] <Boolean>] [[-image] <String>] [-image_delete]
[[-RequestType] <String>] [[-url] <String>] [[-apiKey] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -58,7 +58,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 19
Position: 20
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down Expand Up @@ -163,7 +163,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 16
Position: 17
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down Expand Up @@ -214,6 +214,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -ldap_import
Mark user as import from ldap
```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 16
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```
### -location_id
ID number of localtion
Expand Down Expand Up @@ -299,7 +314,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 17
Position: 18
Default value: Patch
Accept pipeline input: False
Accept wildcard characters: False
Expand All @@ -315,7 +330,7 @@ Parameter Sets: (All)
Aliases:

Required: False
Position: 18
Position: 19
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Expand Down

0 comments on commit 98095b6

Please sign in to comment.