Skip to content

Commit

Permalink
Merge pull request #353 from TheJumpCloud/SA-2336-Update-JCTemplate-I…
Browse files Browse the repository at this point in the history
…mport

Sa 2336 update jc template import
  • Loading branch information
jworkmanjc authored Mar 7, 2022
2 parents 21ca9c3 + ff46a2e commit 0c9a470
Show file tree
Hide file tree
Showing 20 changed files with 1,059 additions and 104 deletions.
6 changes: 3 additions & 3 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
- invoke-pester:
JumpCloudApiKey: $env:XAPIKEY_PESTER
JumpCloudApiKeyMsp: $env:XAPIKEY_PESTER_MTP
ExcludeTagList: 'ModuleValidation, JCUsersFromCSV, JCDeployment'
ExcludeTagList: 'ModuleValidation, JCDeployment'
IncludeTagList: '*'
RequiredModulesRepo: << pipeline.parameters.RequiredModulesRepo >>
Shell: 'pwsh.exe'
Expand All @@ -216,7 +216,7 @@ jobs:
- invoke-pester:
JumpCloudApiKey: $env:XAPIKEY_PESTER_MAC
JumpCloudApiKeyMsp: $env:XAPIKEY_PESTER_MTP
ExcludeTagList: 'ModuleValidation, JCUsersFromCSV, JCDeployment'
ExcludeTagList: 'ModuleValidation, JCDeployment'
IncludeTagList: '*'
RequiredModulesRepo: << pipeline.parameters.RequiredModulesRepo >>
Shell: 'pwsh'
Expand All @@ -228,7 +228,7 @@ jobs:
- invoke-pester:
JumpCloudApiKey: $env:XAPIKEY_PESTER_LINUX
JumpCloudApiKeyMsp: $env:XAPIKEY_PESTER_MTP
ExcludeTagList: 'ModuleValidation, JCUsersFromCSV, JCDeployment'
ExcludeTagList: 'ModuleValidation, JCDeployment'
IncludeTagList: '*'
RequiredModulesRepo: << pipeline.parameters.RequiredModulesRepo >>
Shell: 'pwsh'
Expand Down
51 changes: 48 additions & 3 deletions PowerShell/JumpCloud Module/Docs/Get-JCUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Get-JCUser [[-username] <String>] [-firstname <String>] [-lastname <String>] [-e
[-filterDateProperty <String>] [-returnProperties <String[]>] [-middlename <String>] [-displayname <String>]
[-jobTitle <String>] [-employeeIdentifier <String>] [-department <String>] [-costCenter <String>]
[-company <String>] [-employeeType <String>] [-description <String>] [-location <String>]
[-external_dn <String>] [-external_source_type <String>] -dateFilter <String> -date <DateTime>
[<CommonParameters>]
[-external_dn <String>] [-external_source_type <String>] [-managedAppleId <String>] [-manager <String>]
[-alternateEmail <String>] -dateFilter <String> -date <DateTime> [<CommonParameters>]
```

### ByID
Expand Down Expand Up @@ -119,6 +119,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -alternateEmail
The alternateEmail of the JumpCloud user you wish to search for.
```yaml
Type: System.String
Parameter Sets: SearchFilter
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -company
The company of the JumpCloud user you wish to search for.
Expand Down Expand Up @@ -438,6 +453,36 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -managedAppleId
The managedAppleId of the JumpCloud user you wish to search for.
```yaml
Type: System.String
Parameter Sets: SearchFilter
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -manager
The manager of the JumpCloud user you wish to search for.
```yaml
Type: System.String
Parameter Sets: SearchFilter
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -middlename
The middlename of the JumpCloud user you wish to search for.
Expand Down Expand Up @@ -507,7 +552,7 @@ Valid properties that can be returned are: 'created', 'password_expiration_date'
Type: System.String[]
Parameter Sets: SearchFilter
Aliases:
Accepted values: created, password_expiration_date, account_locked, activated, addresses, allow_public_key, attributes, email, enable_managed_uid, enable_user_portal_multifactor, externally_managed, firstname, lastname, ldap_binding_user, passwordless_sudo, password_expired, password_never_expires, phoneNumbers, samba_service_user, ssh_keys, sudo, totp_enabled, unix_guid, unix_uid, username, middlename, displayname, jobTitle, employeeIdentifier, department, costCenter, company, employeeType, description, location, external_source_type, external_dn, suspended, mfa
Accepted values: created, password_expiration_date, account_locked, activated, addresses, allow_public_key, attributes, alternateEmail, managedAppleId, manager, email, enable_managed_uid, enable_user_portal_multifactor, externally_managed, firstname, lastname, ldap_binding_user, passwordless_sudo, password_expired, password_never_expires, phoneNumbers, samba_service_user, ssh_keys, sudo, totp_enabled, unix_guid, unix_uid, username, middlename, displayname, jobTitle, employeeIdentifier, department, costCenter, company, employeeType, description, location, external_source_type, external_dn, suspended, mfa

Required: False
Position: Named
Expand Down
56 changes: 51 additions & 5 deletions PowerShell/JumpCloud Module/Docs/New-JCUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ New-JCUser -firstname <String> -lastname <String> -username <String> -email <Str
[-work_region <String>] [-work_postalCode <String>] [-work_country <String>] [-home_streetAddress <String>]
[-home_poBox <String>] [-home_locality <String>] [-home_region <String>] [-home_postalCode <String>]
[-home_country <String>] [-mobile_number <String>] [-home_number <String>] [-work_number <String>]
[-work_mobile_number <String>] [-work_fax_number <String>] [-suspended <Boolean>] [-enrollmentDays <Int32>]
-Attribute1_name <String> -Attribute1_value <String> -Attribute2_name <String> -Attribute2_value <String>
[<CommonParameters>]
[-work_mobile_number <String>] [-work_fax_number <String>] [-suspended <Boolean>] [-manager <String>]
[-managedAppleId <String>] [-alternateEmail <String>] [-enrollmentDays <Int32>] -Attribute1_name <String>
-Attribute1_value <String> -Attribute2_name <String> -Attribute2_value <String> [<CommonParameters>]
```

### Attributes
Expand All @@ -42,8 +42,9 @@ New-JCUser -firstname <String> -lastname <String> -username <String> -email <Str
[-home_streetAddress <String>] [-home_poBox <String>] [-home_locality <String>] [-home_region <String>]
[-home_postalCode <String>] [-home_country <String>] [-mobile_number <String>] [-home_number <String>]
[-work_number <String>] [-work_mobile_number <String>] [-work_fax_number <String>] [-suspended <Boolean>]
[-enrollmentDays <Int32>] -Attribute1_name <String> -Attribute1_value <String> -Attribute2_name <String>
-Attribute2_value <String> [<CommonParameters>]
[-manager <String>] [-managedAppleId <String>] [-alternateEmail <String>] [-enrollmentDays <Int32>]
-Attribute1_name <String> -Attribute1_value <String> -Attribute2_name <String> -Attribute2_value <String>
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -91,6 +92,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -alternateEmail
The alternateEmail for the user
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -Attribute1_name
Enter an attribute name
Expand Down Expand Up @@ -518,6 +534,36 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -managedAppleId
The managedAppleId for the user
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -manager
The manager for the user must be a JumpCloud user
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -middlename
Specifies the user's home location.
The LDAP displayName of this property is initials.
Expand Down
60 changes: 54 additions & 6 deletions PowerShell/JumpCloud Module/Docs/Set-JCUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ Set-JCUser [-Username] <String> [-email <String>] [-firstname <String>] [-lastna
[-home_poBox <String>] [-home_locality <String>] [-home_region <String>] [-home_postalCode <String>]
[-home_country <String>] [-mobile_number <String>] [-home_number <String>] [-work_number <String>]
[-work_mobile_number <String>] [-work_fax_number <String>] [-external_dn <String>]
[-external_source_type <String>] [-suspended <Boolean>] [-EnrollmentDays <Int32>] -Attribute1_name <String>
-Attribute1_value <String> -Attribute2_name <String> -Attribute2_value <String> [<CommonParameters>]
[-external_source_type <String>] [-suspended <Boolean>] [-manager <String>] [-managedAppleId <String>]
[-alternateEmail <String>] [-EnrollmentDays <Int32>] -Attribute1_name <String> -Attribute1_value <String>
-Attribute2_name <String> -Attribute2_value <String> [<CommonParameters>]
```

### RemoveAttribute
Expand All @@ -44,8 +45,9 @@ Set-JCUser [-Username] <String> [-email <String>] [-firstname <String>] [-lastna
[-home_streetAddress <String>] [-home_poBox <String>] [-home_locality <String>] [-home_region <String>]
[-home_postalCode <String>] [-home_country <String>] [-mobile_number <String>] [-home_number <String>]
[-work_number <String>] [-work_mobile_number <String>] [-work_fax_number <String>] [-external_dn <String>]
[-external_source_type <String>] [-suspended <Boolean>] [-EnrollmentDays <Int32>] -Attribute1_name <String>
-Attribute1_value <String> -Attribute2_name <String> -Attribute2_value <String> [<CommonParameters>]
[-external_source_type <String>] [-suspended <Boolean>] [-manager <String>] [-managedAppleId <String>]
[-alternateEmail <String>] [-EnrollmentDays <Int32>] -Attribute1_name <String> -Attribute1_value <String>
-Attribute2_name <String> -Attribute2_value <String> [<CommonParameters>]
```

### ByID
Expand All @@ -62,8 +64,9 @@ Set-JCUser -UserID <String> [-email <String>] [-firstname <String>] [-lastname <
[-home_poBox <String>] [-home_locality <String>] [-home_region <String>] [-home_postalCode <String>]
[-home_country <String>] [-mobile_number <String>] [-home_number <String>] [-work_number <String>]
[-work_mobile_number <String>] [-work_fax_number <String>] [-external_dn <String>]
[-external_source_type <String>] [-suspended <Boolean>] [-EnrollmentDays <Int32>] -Attribute1_name <String>
-Attribute1_value <String> -Attribute2_name <String> -Attribute2_value <String> [<CommonParameters>]
[-external_source_type <String>] [-suspended <Boolean>] [-manager <String>] [-managedAppleId <String>]
[-alternateEmail <String>] [-EnrollmentDays <Int32>] -Attribute1_name <String> -Attribute1_value <String>
-Attribute2_name <String> -Attribute2_value <String> [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -145,6 +148,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -alternateEmail
The alternateEmail for the user
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -Attribute1_name
Enter an attribute name
Expand Down Expand Up @@ -631,6 +649,36 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -managedAppleId
The managedAppleId for the user
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -manager
The manager for the user
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -middlename
Specifies the user's home location.
The LDAP displayName of this property is initials.
Expand Down
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/JumpCloud.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: JumpCloud Solutions Architect Team
#
# Generated on: 3/2/2022
# Generated on: 3/4/2022
#

@{
Expand Down
Loading

0 comments on commit 0c9a470

Please sign in to comment.