Skip to content

Commit

Permalink
Build-Module
Browse files Browse the repository at this point in the history
  • Loading branch information
gweinjc committed Sep 30, 2024
1 parent 8c62cde commit 95a3c69
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 24 deletions.
4 changes: 2 additions & 2 deletions PowerShell/JumpCloud Module/Docs/Connect-JCOnline.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The Connect-JCOnline function sets the global variable $JCAPIKEY
## SYNTAX

```
Connect-JCOnline [-force] [-JumpCloudApiKey] <String>
Connect-JCOnline [-force] [[-JumpCloudApiKey] <String>]
[[-JumpCloudOrgId] <String>] [[-JCEnvironment] <String>] [<CommonParameters>]
```

Expand Down Expand Up @@ -88,7 +88,7 @@ Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Expand Down
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/Docs/JumpCloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Module Name: JumpCloud
Module Guid: 31c023d1-a901-48c4-90a3-082f91b31646
Download Help Link: https://github.com/TheJumpCloud/support/wiki
Help Version: 2.14.0
Help Version: 2.14.1
Locale: en-Us
---

Expand Down
9 changes: 5 additions & 4 deletions PowerShell/JumpCloud Module/Docs/Set-JCUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ 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>] [-state <String>] [-manager <String>] [-managedAppleId <String>]
[-external_source_type <String>] [-state <String>] [-manager <Object>] [-managedAppleId <String>]
[-alternateEmail <String>] [-recoveryEmail <String>]
[-EnrollmentDays <Int32>] -Attribute1_name <String> -Attribute1_value <String> -Attribute2_name <String>
-Attribute2_value <String> [<CommonParameters>]
Expand All @@ -46,7 +46,7 @@ Set-JCUser [-Username] <String> [-email <String>] [-firstname <String>] [-lastna
[-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>]
[-external_dn <String>] [-external_source_type <String>] [-state <String>] [-manager <String>]
[-external_dn <String>] [-external_source_type <String>] [-state <String>] [-manager <Object>]
[-managedAppleId <String>] [-alternateEmail <String>] [-recoveryEmail <String>]
[-EnrollmentDays <Int32>] -Attribute1_name <String>
-Attribute1_value <String> -Attribute2_name <String> -Attribute2_value <String> [<CommonParameters>]
Expand All @@ -66,7 +66,7 @@ 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>] [-state <String>] [-manager <String>] [-managedAppleId <String>]
[-external_source_type <String>] [-state <String>] [-manager <Object>] [-managedAppleId <String>]
[-alternateEmail <String>] [-recoveryEmail <String>]
[-EnrollmentDays <Int32>] -Attribute1_name <String> -Attribute1_value <String> -Attribute2_name <String>
-Attribute2_value <String> [<CommonParameters>]
Expand Down Expand Up @@ -671,7 +671,7 @@ Accept wildcard characters: False
The manager for the user
```yaml
Type: System.String
Type: System.Object
Parameter Sets: (All)
Aliases:

Expand Down Expand Up @@ -1065,6 +1065,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
### System.Int32
### System.String[]
### System.Management.Automation.SwitchParameter
### System.Object
## OUTPUTS
### System.Object
Expand Down
4 changes: 2 additions & 2 deletions 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: 9/24/2024
# Generated on: 9/30/2024
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'JumpCloud.psm1'

# Version number of this module.
ModuleVersion = '2.14.0'
ModuleVersion = '2.14.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
64 changes: 50 additions & 14 deletions PowerShell/JumpCloud Module/en-Us/JumpCloud-help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2441,7 +2441,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
<command:syntax>
<command:syntaxItem>
<maml:name>Connect-JCOnline</maml:name>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="none">
<maml:name>JumpCloudApiKey</maml:name>
<maml:description>
<maml:para>Please enter your JumpCloud API key. This can be found in the JumpCloud admin console within "API Settings" accessible from the drop down icon next to the admin email address in the top right corner of the JumpCloud admin console.</maml:para>
Expand Down Expand Up @@ -2520,7 +2520,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
</command:parameter>
<command:parameter required="true" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="none">
<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="True (ByPropertyName)" position="1" aliases="none">
<maml:name>JumpCloudApiKey</maml:name>
<maml:description>
<maml:para>Please enter your JumpCloud API key. This can be found in the JumpCloud admin console within "API Settings" accessible from the drop down icon next to the admin email address in the top right corner of the JumpCloud admin console.</maml:para>
Expand Down Expand Up @@ -8800,11 +8800,11 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
<command:verb>Get</command:verb>
<command:noun>JCSystemKB</command:noun>
<maml:description>
<maml:para>{{ Fill in the Synopsis }}</maml:para>
<maml:para>Returns applied hotfixes/KBs on Windows devices</maml:para>
</maml:description>
</command:details>
<maml:description>
<maml:para>{{ Fill in the Description }}</maml:para>
<maml:para>The Get-JCSystemKB function returns all applied hotfixes/KBs on Windows Devices. The function can be used to filter based on a specific hotfix/KB, a specific system, or both. An object is returned that contains information on the hotfix/KB including the description of the KB and when it was installed</maml:para>
</maml:description>
<command:syntax>
<command:syntaxItem>
Expand Down Expand Up @@ -8891,9 +8891,37 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
<command:examples>
<command:example>
<maml:title>-------------------------- Example 1 --------------------------</maml:title>
<dev:code>PS C:\&gt; {{ Add example code here }}</dev:code>
<dev:code>PS C:\&gt; Get-JCSystemKB</dev:code>
<dev:remarks>
<maml:para>This example returns all installed hotfixes/KBs on all of the Windows devices in the organization</maml:para>
</dev:remarks>
</command:example>
<command:example>
<maml:title>-------------------------- Example 2 --------------------------</maml:title>
<dev:code>PS C:\&gt; Get-JCSystemKB -SystemID 59f2s305383coo7t369ef7r2</dev:code>
<dev:remarks>
<maml:para>This example returns all installed hotfixes/KBs on one Windows device</maml:para>
</dev:remarks>
</command:example>
<command:example>
<maml:title>-------------------------- Example 3 --------------------------</maml:title>
<dev:code>PS C:\&gt; Get-JCSystemKB -KB KB5000736</dev:code>
<dev:remarks>
<maml:para>This example returns all devices that have the hotfix/KB installed</maml:para>
</dev:remarks>
</command:example>
<command:example>
<maml:title>-------------------------- Example 4 --------------------------</maml:title>
<dev:code>PS C:\&gt; Get-JCSystemKB -KB KB5000736 -SystemID 59f2s305383coo7t369ef7r2</dev:code>
<dev:remarks>
<maml:para>This example checks a specific system for a specific hotfix/KB</maml:para>
</dev:remarks>
</command:example>
<command:example>
<maml:title>-------------------------- Example 5 --------------------------</maml:title>
<dev:code>PS C:\&gt; Get-JCSystem -hostname JC-Windows-01 | Get-JCSystemKB</dev:code>
<dev:remarks>
<maml:para>{{ Add example description here }}</maml:para>
<maml:para>This example uses pipeline input from Get-JCSystem to find all installed KBs for the system with the hostname JC-Windows-01</maml:para>
</dev:remarks>
</command:example>
</command:examples>
Expand Down Expand Up @@ -19426,9 +19454,9 @@ PS C:\&gt; Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli
<maml:description>
<maml:para>The manager for the user</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
<command:parameterValue required="true" variableLength="false">System.Object</command:parameterValue>
<dev:type>
<maml:name>System.String</maml:name>
<maml:name>System.Object</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
Expand Down Expand Up @@ -20122,9 +20150,9 @@ PS C:\&gt; Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli
<maml:description>
<maml:para>The manager for the user</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
<command:parameterValue required="true" variableLength="false">System.Object</command:parameterValue>
<dev:type>
<maml:name>System.String</maml:name>
<maml:name>System.Object</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
Expand Down Expand Up @@ -20814,9 +20842,9 @@ PS C:\&gt; Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli
<maml:description>
<maml:para>The manager for the user</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
<command:parameterValue required="true" variableLength="false">System.Object</command:parameterValue>
<dev:type>
<maml:name>System.String</maml:name>
<maml:name>System.Object</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
Expand Down Expand Up @@ -21494,9 +21522,9 @@ PS C:\&gt; Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli
<maml:description>
<maml:para>The manager for the user</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
<command:parameterValue required="true" variableLength="false">System.Object</command:parameterValue>
<dev:type>
<maml:name>System.String</maml:name>
<maml:name>System.Object</maml:name>
<maml:uri />
</dev:type>
<dev:defaultValue>None</dev:defaultValue>
Expand Down Expand Up @@ -21824,6 +21852,14 @@ PS C:\&gt; Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli
<maml:para></maml:para>
</maml:description>
</command:inputType>
<command:inputType>
<dev:type>
<maml:name>System.Object</maml:name>
</dev:type>
<maml:description>
<maml:para></maml:para>
</maml:description>
</command:inputType>
</command:inputTypes>
<command:returnValues>
<command:returnValue>
Expand Down
15 changes: 14 additions & 1 deletion PowerShell/ModuleChangelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
## 2.14.1

Release Date: September 30, 2024

#### RELEASE NOTES

```
Fixed a bug with `Set-JCUser` not having the ability to remove a user's manager by setting it to `$null`
```

#### BUG FIXES:
- Set-JCUser now allows removing a user's manager by inputting a `$null` value as expected

## 2.14.0

Release Date: September 24, 2024
Release Date: September 25, 2024

#### RELEASE NOTES

Expand Down

0 comments on commit 95a3c69

Please sign in to comment.