Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/Docs/Get-JCCommand.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Allows you to return select properties on JumpCloud user objects. Specifying wha
Type: System.String[]
Parameter Sets: SearchFilter
Aliases:
Accepted values: aiGenerated, command, name, launchType, commandType, trigger, scheduleRepeatType, listensTo, organization, commandRunners, schedule, shell, timeout, sudo, template, scheduleYear, timeToLiveSeconds, files, user, systems, description, filesS3
Accepted values: aiGenerated, command, name, launchType, commandType, trigger, scheduleRepeatType, listensTo, organization, commandRunners, schedule, shell, timeout, sudo, template, scheduleYear, timeToLiveSeconds, files, user, systems, description, filesS3, templatingRequired

Required: False
Position: Named
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: 3.0.1
Help Version: 3.0.2
Locale: en-Us
---

Expand Down
4 changes: 2 additions & 2 deletions PowerShell/JumpCloud Module/Docs/Set-JCSettingsFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Updates the JumpCloud Module Settings File
## SYNTAX

```
Set-JCSettingsFile [-parallelOverride <PSObject>]
[-JCEnvironmentLocation <PSObject>] [-moduleBannerMessageCount <PSObject>] [<CommonParameters>]
Set-JCSettingsFile [-moduleBannerMessageCount <PSObject>]
[-parallelOverride <PSObject>] [-JCEnvironmentLocation <PSObject>] [<CommonParameters>]
```

## DESCRIPTION
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: 12/31/2025
# Generated on: 1/22/2026
#

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

# Version number of this module.
ModuleVersion = '3.0.1'
ModuleVersion = '3.0.2'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function Get-JCCommand () {
[ValidateSet('minute', 'hour', 'day', 'week', 'month')]
[string]$scheduleRepeatType,
[Parameter(ValueFromPipelineByPropertyName, ParameterSetName = 'SearchFilter', HelpMessage = 'Allows you to return select properties on JumpCloud commands objects. Specifying what properties are returned can drastically increase the speed of the API call with a large data set. Valid properties that can be returned are: ''command'', ''name'',''launchType'',''commandType'',''trigger'',''scheduleRepeatType'',''listensTo'',''organization'',''commandRunners'',''schedule'',''shell'',''timeout'',''sudo'',''template'',''scheduleYear'',''timeToLiveSeconds'',''files'',''user'',''systems'', ''description'', ''filesS3''')]
[ValidateSet('aiGenerated', 'command', 'name', 'launchType', 'commandType', 'trigger', 'scheduleRepeatType', 'listensTo', 'organization', 'commandRunners', 'schedule', 'shell', 'timeout', 'sudo', 'template', 'scheduleYear', 'timeToLiveSeconds', 'files', 'user', 'systems', 'description', 'filesS3')]
[ValidateSet('aiGenerated', 'command', 'name', 'launchType', 'commandType', 'trigger', 'scheduleRepeatType', 'listensTo', 'organization', 'commandRunners', 'schedule', 'shell', 'timeout', 'sudo', 'template', 'scheduleYear', 'timeToLiveSeconds', 'files', 'user', 'systems', 'description', 'filesS3', 'templatingRequired')]
[String[]]$returnProperties,
[Parameter(Mandatory,
ValueFromPipelineByPropertyName,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Function Get-JCConfiguredTemplatePolicy {
function Get-JCConfiguredTemplatePolicy {
[CmdletBinding(DefaultParameterSetName = 'ReturnAll')]
param (
[Parameter(
Expand Down Expand Up @@ -50,8 +50,8 @@ Function Get-JCConfiguredTemplatePolicy {
}
}
end {
if ($response.records) {
return $response.records
if ($response.results) {
return $response.results

} else {
return $response
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# TODO: card to fix the issue CUT-4867
Describe -Tag:('MSP') 'Get-JCConfiguredTemplatePolicy' -Skip {
Describe -Tag:('MSP') 'Get-JCConfiguredTemplatePolicy' {
# Note for these tests, there's not a public endpoint to delete these objects
# tests in this file will assume that configuredTemplatePolicy objects exist
It "Lists all configured template policies" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ BeforeAll {
$ErrorActionPreference = 'Stop' # Continue (Default), Ignore, Inquire, SilentlyContinue, Stop, Suspend
}
# TODO: Waiting on the API team to fix an issue with the authorized_key endpoint marking CUT-4892 as the card to revert these changes
Describe -Tag:('JCSystemInsights') "Get-JCSystemInsights Tests" -Skip {
Function Get-JCSystemInsightsTestCases($System) {
Describe -Tag:('JCSystemInsights') "Get-JCSystemInsights Tests" {
function Get-JCSystemInsightsTestCases($System) {
# Retrieve objects to test with
$SystemInsightsPrefix = 'Get-JcSdkSystemInsight';
$SystemInsightsDataSet = [Ordered]@{}
Expand All @@ -14,10 +14,10 @@ Describe -Tag:('JCSystemInsights') "Get-JCSystemInsights Tests" -Skip {
$HelpDescription = $Help.Description.Text
$FilterDescription = ($Help.parameters.parameter | Where-Object { $_.Name -eq 'filter' }).Description.Text
$FilterNames = ($HelpDescription | Select-String -Pattern:([Regex]'(?<=\ `)(.*?)(?=\`)') -AllMatches).Matches.Value
$Operators = ($FilterDescription -Replace ('Supported operators are: ', '')).Trim()
If ([System.String]::IsNullOrEmpty($HelpDescription) -or [System.String]::IsNullOrEmpty($FilterNames) -or [System.String]::IsNullOrEmpty($Operators)) {
$Operators = ($FilterDescription -replace ('Supported operators are: ', '')).Trim()
if ([System.String]::IsNullOrEmpty($HelpDescription) -or [System.String]::IsNullOrEmpty($FilterNames) -or [System.String]::IsNullOrEmpty($Operators)) {
Write-Error ('Get-JCSystemInsights parameter help info is missing.')
} Else {
} else {
$Filters = $FilterNames | ForEach-Object {
$FilterName = $_
$Operators | ForEach-Object {
Expand Down Expand Up @@ -47,7 +47,7 @@ Describe -Tag:('JCSystemInsights') "Get-JCSystemInsights Tests" -Skip {
# Command = "Get-JCSystemInsights -Table:('$TableName') -Filter:('$($Filter)');"
# }
}
Return $SystemInsightsTestCases
return $SystemInsightsTestCases
}
It '<testDescription>' -TestCases:(Get-JCSystemInsightsTestCases -System:($PesterParams_SystemLinux, $PesterParams_SystemMac, $PesterParams_SystemWindows)) {
# Write-Host ("Command: $Command")
Expand Down
1 change: 1 addition & 0 deletions PowerShell/JumpCloud Module/en-Us/JumpCloud-help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4569,6 +4569,7 @@ PS C:\&gt; $BackupJcOrganizationResults.User</dev:code>
<command:parameterValue required="false" command:variableLength="false">systems</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">description</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">filesS3</command:parameterValue>
<command:parameterValue required="false" command:variableLength="false">templatingRequired</command:parameterValue>
</command:parameterValueGroup>
<command:parameterValue required="true" variableLength="false">System.String[]</command:parameterValue>
<dev:type>
Expand Down
12 changes: 12 additions & 0 deletions PowerShell/ModuleChangelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 3.0.2

Release Date: January 22, 2026

#### RELEASE NOTES

```
Adds new property to Get-JCCommand returnProperties param
Fixes results for Get-JCConfiguredTemplatePolicy
Fixes to module test suite
```

## 3.0.1

Release Date: December 31, 2025
Expand Down
Loading