Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
71cd99b
lint
gweinjc Nov 11, 2025
bf17c54
Add EU region support to Connect-JCOnline
gweinjc Nov 11, 2025
c0eded8
lint
gweinjc Nov 11, 2025
2606f3b
PowerShell code formatting settings
gweinjc Nov 11, 2025
1cd6654
Update settings.json
gweinjc Nov 11, 2025
451f6eb
fix cspell
gweinjc Nov 11, 2025
3e69337
Add JCEnvironment location to settings file
gweinjc Nov 21, 2025
6b651f6
Update region handling in Connect-JCOnline
gweinjc Nov 21, 2025
76db699
Add EU endpoint support to Get-JCReport
gweinjc Nov 21, 2025
9984661
Expand settings file modification test
gweinjc Nov 21, 2025
d59bf55
Update JCEnvironment location check in Connect-JCOnline
gweinjc Nov 21, 2025
303ada7
change not null or empty
gweinjc Nov 21, 2025
f662e5a
clone + psdefaultparam
jworkmanjc Nov 21, 2025
50b8c32
Merge branch 'CUT-4960_EUTenantSupport' of https://github.com/TheJump…
gweinjc Nov 24, 2025
3f27f0c
Set JCEnvironment Location to static 'STANDARD'
gweinjc Nov 24, 2025
539327e
Use JCEnvironment env variable in config file
gweinjc Nov 24, 2025
26af751
set env variable for JCEnvironment
gweinjc Nov 24, 2025
bc66aad
Use global scope for PSDefaultParameterValues
gweinjc Nov 24, 2025
d8eb63b
Update JCEnvironment variable assignment logic
gweinjc Nov 24, 2025
c9fa704
Update Set-JCSettingsFile.Tests.ps1
gweinjc Nov 24, 2025
c09bfbe
Add EU API key and org ID to CI workflow
gweinjc Nov 24, 2025
e5a73d1
Add EU org connection tests
gweinjc Nov 24, 2025
d25e60f
use $global:JCUrlBasePath
gweinjc Nov 24, 2025
b4e78b8
needs 0.1.1 sdks
gweinjc Nov 24, 2025
caa2a24
Refactor and expand JCEnvironment tests
gweinjc Nov 24, 2025
8bc744b
Update ModuleChangelog.md
gweinjc Nov 24, 2025
7d867c6
Update JumpCloud.psd1
gweinjc Nov 24, 2025
6ce2f79
set env, default param values
jworkmanjc Nov 25, 2025
958b381
JCEnvironment variable handling
gweinjc Nov 25, 2025
53e0d5a
Set JCUrlBasePath based on JCEnvironment variable
gweinjc Nov 25, 2025
8e849b0
Remove redundant JCAPIKEY check in Set-JCSettingsFile
gweinjc Nov 25, 2025
8ad53a0
exclude Set-JCSettingsFile
gweinjc Nov 25, 2025
1e6fe87
spellcheck
jworkmanjc Nov 25, 2025
381474d
update docs
gweinjc Nov 25, 2025
e612b51
returnproperties
gweinjc Nov 25, 2025
122f4f0
properly set jcenvironment
gweinjc Nov 25, 2025
cca00d6
fix params
gweinjc Nov 25, 2025
e75be66
Update Connect-JCOnline.Tests.ps1
gweinjc Nov 25, 2025
758b877
Update Connect-JCOnline.Tests.ps1
gweinjc Nov 25, 2025
3b4a1f5
fix policy test
gweinjc Dec 1, 2025
2f5b165
fix policy tests
gweinjc Dec 1, 2025
575b26d
return object with new SDKs
gweinjc Dec 2, 2025
17e040a
Merge branch 'CUT-4960_EUTenantSupport' of ssh://github.com/TheJumpCl…
jworkmanjc Dec 2, 2025
8d9c643
association tests new user, sdk generation, changelogs
jworkmanjc Dec 2, 2025
aeccf4a
3.0.0
jworkmanjc Dec 2, 2025
0e71ccb
skip jcapi gen tests until we fix SDK help gen
jworkmanjc Dec 2, 2025
650e35b
sdk help url
jworkmanjc Dec 2, 2025
31980a8
remove docs log/ event examples
jworkmanjc Dec 2, 2025
fa65af4
settings file set JCEnvironment variable
jworkmanjc Dec 2, 2025
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
31 changes: 17 additions & 14 deletions .github/workflows/powershell-module-ci.yml
Comment thread
jworkmanjc marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
run: |
# validate release type variables
$env:RELEASE_TYPE | Should -BeIn @('major','minor','patch','manual')
Setup-Build-Dependancies:
Setup-Build-Dependencies:
needs: ["Filter-Branch", "Check-PR-Labels", "Validate-Env-Variables"]
runs-on: ubuntu-latest
timeout-minutes: 10
Expand All @@ -75,7 +75,7 @@ jobs:
uses: actions/cache@v3
with:
path: "/home/runner/.local/share/powershell/Modules/"
key: PS-Dependancies
key: PS-Dependencies
- name: Install dependencies
if: steps.cacher.outputs.cache-hit != 'true'
shell: pwsh
Expand All @@ -98,9 +98,9 @@ jobs:
'PlatyPS' = @{Repository = 'PSGallery'; RequiredVersion = '0.14.2' }
'AWS.Tools.Common' = @{Repository = 'PSGallery'; RequiredVersion = '4.1.122' }
'AWS.Tools.CodeArtifact' = @{Repository = 'PSGallery'; RequiredVersion = '4.1.122' }
'JumpCloud.SDK.V1' = @{Repository = 'PSGallery'; RequiredVersion = 'latest'}
'JumpCloud.SDK.V2' = @{Repository = 'PSGallery'; RequiredVersion = 'latest'}
'JumpCloud.SDK.DirectoryInsights' = @{Repository = 'PSGallery'; RequiredVersion = 'latest'}
'JumpCloud.SDK.V1' = @{Repository = 'PSGallery'; RequiredVersion = '0.1.1'}
'JumpCloud.SDK.V2' = @{Repository = 'PSGallery'; RequiredVersion = '0.1.1'}
'JumpCloud.SDK.DirectoryInsights' = @{Repository = 'PSGallery'; RequiredVersion = '0.1.1'}
'powershell-yaml' = @{Repository = 'PSGallery'; RequiredVersion = '0.4.7'}
}

Expand All @@ -116,7 +116,7 @@ jobs:
}

Validate-Module:
needs: ["Setup-Build-Dependancies", "Check-PR-Labels"]
needs: ["Setup-Build-Dependencies", "Check-PR-Labels"]
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -128,14 +128,14 @@ jobs:
- uses: actions/cache@v3
with:
path: "/home/runner/.local/share/powershell/Modules/"
key: PS-Dependancies
key: PS-Dependencies
- env:
RELEASE_TYPE: ${{ needs.Check-PR-Labels.outputs.RELEASE_TYPE }}
shell: pwsh
run: |
. "./PowerShell/JumpCloud Module/Tests/InvokePester.ps1" -ModuleValidation
Setup-Org:
needs: ["Setup-Build-Dependancies", "Check-PR-Labels"]
needs: ["Setup-Build-Dependencies", "Check-PR-Labels"]
runs-on: ubuntu-latest
name: Setup Org Upload Variable Artifact
steps:
Expand All @@ -147,7 +147,7 @@ jobs:
- uses: actions/cache@v3
with:
path: "/home/runner/.local/share/powershell/Modules/"
key: PS-Dependancies
key: PS-Dependencies
- name: Setup Org Variables
shell: pwsh
env:
Expand All @@ -167,7 +167,7 @@ jobs:
name: jumpcloud-vars
path: /home/runner/.local/share/powershell/Modules/PesterVariables.json
Test-Module:
needs: ["Setup-Build-Dependancies", "Check-PR-Labels", "Setup-Org"]
needs: ["Setup-Build-Dependencies", "Check-PR-Labels", "Setup-Org"]
runs-on: ubuntu-latest
timeout-minutes: 75
strategy:
Expand All @@ -184,7 +184,7 @@ jobs:
- uses: actions/cache@v3
with:
path: "/home/runner/.local/share/powershell/Modules/"
key: PS-Dependancies
key: PS-Dependencies
- uses: actions/download-artifact@v4
with:
name: jumpcloud-vars
Expand All @@ -194,6 +194,8 @@ jobs:
PESTER_APIKEY: ${{ secrets.PESTER_APIKEY }}
PESTER_ORGID: ${{ secrets.PESTER_ORGID }}
PESTER_MSP_APIKEY: ${{ secrets.PESTER_MSP_APIKEY }}
PESTER_EU_APIKEY: ${{ secrets.PESTER_EU_APIKEY }}
PESTER_EU_ORGID: ${{ secrets.PESTER_EU_ORGID }}
run: |
# Setup Variables for Pester Run
$env:job_group = ${{ matrix.job_group }}
Expand All @@ -206,7 +208,8 @@ jobs:
}
}
Set-Variable -Name PesterParams_ApiKey -Value "$env:PESTER_APIKEY" -Scope Global

Set-Variable -Name PesterParams_EU_ApiKey -Value "$env:PESTER_EU_APIKEY" -Scope Global
Set-Variable -Name PesterParams_EU_OrgID -Value "$env:PESTER_EU_ORGID" -Scope Global
# Import JC Module
Import-Module "${{github.workspace}}/PowerShell/JumpCloud Module/JumpCloud.psd1"

Expand All @@ -216,7 +219,7 @@ jobs:
# Invoke Pester
. "./PowerShell/JumpCloud Module/Tests/InvokePester.ps1" -JumpCloudApiKey "$env:PESTER_APIKEY" -ExcludeTagList "ModuleValidation", "JCDeployment", "MSP", "JCModule" -IncludeTagList "*" -RequiredModulesRepo "PSGallery"
Test-Module-MSP:
needs: ["Setup-Build-Dependancies", "Check-PR-Labels"]
needs: ["Setup-Build-Dependencies", "Check-PR-Labels"]
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
Expand All @@ -228,7 +231,7 @@ jobs:
- uses: actions/cache@v3
with:
path: "/home/runner/.local/share/powershell/Modules/"
key: PS-Dependancies
key: PS-Dependencies
- shell: pwsh
env:
PESTER_APIKEY: ${{ secrets.PESTER_APIKEY }}
Expand Down
32 changes: 25 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"cSpell.language": "en",
"cSpell.enabled": true,
"cSpell.enableFiletypes": [
"latex",
"markdown",
"plaintext",
"powershell"
],
"cSpell.enabledFileTypes": {
"latex": true,
"markdown": true,
"plaintext": true,
"powershell": true
},
// todo highlight settings:
"todohighlight.isEnable": true,
"todohighlight.isCaseSensitive": true,
Expand Down Expand Up @@ -65,7 +65,25 @@
"editor.formatOnSave": true,
"files.trimTrailingWhitespace": true,
// powershell settings
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
"powershell.codeFormatting.alignPropertyValuePairs": true,
"powershell.codeFormatting.autoCorrectAliases": true,
"powershell.codeFormatting.avoidSemicolonsAsLineTerminators": false,
"powershell.codeFormatting.ignoreOneLineBlock": true,
"powershell.codeFormatting.newLineAfterCloseBrace": true,
"powershell.codeFormatting.newLineAfterOpenBrace": true,
"powershell.codeFormatting.openBraceOnSameLine": true,
"powershell.codeFormatting.pipelineIndentationStyle": "IncreaseIndentationForFirstPipeline",
"powershell.codeFormatting.preset": "OTBS",
"powershell.codeFormatting.trimWhitespaceAroundPipe": true,
"powershell.codeFormatting.useConstantStrings": false,
"powershell.codeFormatting.useCorrectCasing": true,
"powershell.codeFormatting.whitespaceAfterSeparator": true,
"powershell.codeFormatting.whitespaceAroundOperator": true,
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
"powershell.codeFormatting.whitespaceBetweenParameters": true,
"powershell.codeFormatting.whitespaceInsideBrace": true,
"powershell.scriptAnalysis.enable": true,
"powershell.scriptAnalysis.settingsPath": "PowerShell/JumpCloud Module/Tests/ModuleValidation/PSScriptAnalyzerSettings.psd1",
}
32 changes: 18 additions & 14 deletions PowerShell/Deploy/Build-HelpFiles.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Param(
param(
[Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true, HelpMessage = 'Name of module')][ValidateNotNullOrEmpty()][System.String]$ModuleName = 'JumpCloud'
, [Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true, HelpMessage = 'Path to module root')][ValidateNotNullOrEmpty()][System.String]$ModulePath = './PowerShell/JumpCloud Module' # $PSScriptRoot
, [Parameter(Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = 'Which parameter set to be used for New-MarkdownHelp')][ValidateNotNullOrEmpty()][ValidateSet('FromCommand', 'FromModule')][System.String]$NewMarkdownHelpParamSet = 'FromCommand'
Expand Down Expand Up @@ -61,7 +61,7 @@ $FolderPath_Docs = "$ModulePath/Docs"
$FolderPath_enUS = "$ModulePath/$Locale"
$FilePath_ModulePagePath = "$FolderPath_Docs/$ModuleName.md"
Write-Host ("[status]Creating/Updating help files")
Try {
try {
Write-Host ("[status]Installing module: PlatyPS")
Install-Module -Repository:('PSGallery') -Name:('PlatyPS') -Force
# Import module
Expand All @@ -74,7 +74,7 @@ Try {
#########################################################
############### Adding Comment based help ###############
#########################################################
If ($AddCommentBasedHelp) {
if ($AddCommentBasedHelp) {
$FolderPath_Public = "$ModulePath/Public"
# Move the help contents from docs files to ps1 files
$DocFiles = Get-ChildItem $FolderPath_Docs
Expand All @@ -88,15 +88,15 @@ Try {
$description = ".Description`r`n" + ($help.description.text).Trim()
$examples = $help.examples.example | ForEach-Object {
$Example = $_
$ExampleCode = If ($Example.code -like '*C:\>*') {
$ExampleCode = if ($Example.code -like '*C:\>*') {
($Example.code).split(">")[1]
} Else {
} else {
$Example.code
}
(".Example`r`n" + ($ExampleCode).Trim() + "`r`n`r`n" + ($Example.remarks.text).Trim())
}
$notes = If ($help.alertSet.alert.text) { ".Notes`r`n" + ($help.alertSet.alert.text).Trim() }
$link = If ($help.relatedLinks.navigationLink.uri) { ".Link`r`n" + ($help.relatedLinks.navigationLink.uri).Trim() }
$notes = if ($help.alertSet.alert.text) { ".Notes`r`n" + ($help.alertSet.alert.text).Trim() }
$link = if ($help.relatedLinks.navigationLink.uri) { ".Link`r`n" + ($help.relatedLinks.navigationLink.uri).Trim() }
Set-Content $file.FullName -Value "<#", $synopsis, $description, $examples, $notes, $link, "#>"
Add-Content $file.FullName -Value $content
}
Expand All @@ -110,16 +110,16 @@ Try {
#########################################################
#########################################################
# If not exist create: .\Docs\about_$ModuleName.md
If (-not (Test-Path -Path:("$($FolderPath_Docs)/about_$($ModuleName).md"))) {
if (-not (Test-Path -Path:("$($FolderPath_Docs)/about_$($ModuleName).md"))) {
Write-Host ("[status]Creating New-MarkdownAboutHelp")
New-MarkdownAboutHelp -OutputFolder:($FolderPath_Docs) -AboutName:($ModuleName)
}
# Creating help files: .\Docs\*.md
Write-Host ("[status]Creating help files: .\Docs\*.md")
Switch ($NewMarkdownHelpParamSet) {
switch ($NewMarkdownHelpParamSet) {
'FromCommand' {
$Psd1.FunctionsToExport | ForEach-Object {
If (-not (Test-Path -Path:("$($FolderPath_Docs)/$($_).md"))) {
if (-not (Test-Path -Path:("$($FolderPath_Docs)/$($_).md"))) {
$parameters = @{
Command = $_
Force = $true
Expand All @@ -133,6 +133,7 @@ Try {
# Session = '<PSSession>'
# Metadata = '<Hashtable>'
}
Write-Host ("[status]Creating help file for command: $($_)")
New-MarkdownHelp @parameters
}
}
Expand All @@ -155,9 +156,10 @@ Try {
# Session = '<PSSession>'
# Metadata = '<Hashtable>'
}
Write-Host ("[status]Creating help file for command: $($_)")
New-MarkdownHelp @parameters
}
Default {
default {
Write-Error ("Unknown `$NewMarkdownHelpParamSet value: $NewMarkdownHelpParamSet")
}
}
Expand All @@ -171,13 +173,15 @@ Try {
UpdateInputOutput = $true
Force = $true
ExcludeDontShow = $true
# LogPath = "$FolderPath_Docs\PlatyPS.log"
# LogAppend = $true
LogPath = "$FolderPath_Docs\PlatyPS.log"
Comment thread
jworkmanjc marked this conversation as resolved.
LogAppend = $true
# Encoding = '<Encoding>'
# Session = '<PSSession>'
}
Write-Host ("[status]Updating help files: .\Docs\*.md")
Update-MarkdownHelpModule @parameters
# Manually updating specific feilds within JumpCloud.md
Write-Host ("[status]Updating JumpCloud.md")
$ModulePageContent = Get-Content -Path:($FilePath_ModulePagePath) -Raw
$ModulePageContent = $ModulePageContent.Replace("`r", '')
$ModulePageContent = $ModulePageContent.Replace("## Description`n{{ Fill in the Description }}", "## Description`n$($Psd1.Description)")
Expand Down Expand Up @@ -223,7 +227,7 @@ Try {
(Get-Content -Path "$FolderPath_enUS/$ModuleName-help.xml" -Raw).Replace($ProgressActionXML1, '') | Set-Content "$FolderPath_enUS/$ModuleName-help.xml"
(Get-Content -Path "$FolderPath_enUS/$ModuleName-help.xml" -Raw).Replace($ProgressActionXML2, '') | Set-Content "$FolderPath_enUS/$ModuleName-help.xml"

} Catch {
} catch {
Write-Error ($_)
}

Expand Down
22 changes: 11 additions & 11 deletions PowerShell/Deploy/SdkSync/jcapiToSupportSync.ps1
Comment thread
jworkmanjc marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ $PSD1_Module = Test-ModuleManifest -Path:("$FilePath_psd1")

Get-Module -Refresh -ListAvailable -All | Out-Null
$Modules = Get-Module -Name:($Psd1.RequiredModules | Where-Object { $_ -in $ApprovedFunctions.Keys })
If (-not [System.String]::IsNullOrEmpty($Modules)) {
ForEach ($Module In $Modules) {
if (-not [System.String]::IsNullOrEmpty($Modules)) {
foreach ($Module in $Modules) {
$ModuleName = $Module.Name
ForEach ($Function In $ApprovedFunctions.$ModuleName) {
foreach ($Function in $ApprovedFunctions.$ModuleName) {
$FunctionName = $Function.Name
$FunctionDestination = $Function.Destination
$OutputPath = Join-Path -Path $JumpCloudModulePath -ChildPath $FunctionDestination #"$JumpCloudModulePath/$FunctionDestination"
Expand All @@ -128,7 +128,7 @@ If (-not [System.String]::IsNullOrEmpty($Modules)) {
# Get content from sdk function
$CommandFilePath = $individualCommand.ScriptBlock.File
$CommandFilePathContent = Get-Content -Path:($CommandFilePath) -Raw
$FunctionContent = If ($CommandFilePath -like '*ProxyCmdletDefinitions.ps1') {
$FunctionContent = if ($CommandFilePath -like '*ProxyCmdletDefinitions.ps1') {
<# When the autorest generated module has been installed and imported from the PSGallery all the
cmdlets will exist in a single ProxyCmdletDefinitions.ps1 file. We need to parse
out the specific function in order to gather the parts we need to copy over. #>
Expand All @@ -140,15 +140,15 @@ If (-not [System.String]::IsNullOrEmpty($Modules)) {
$functionSplit
}
}
} Else {
} else {
<# When the autorest generated module has been imported from a local psd1 module the function will
remain in their individual files. #>
$CommandFilePathContent
}
# Extract the sections we want to copy over to our new function.
$PSScriptInfo = ($FunctionContent | Select-String -Pattern:([regex]'(?s)(<#)(.*?)(#>)')).Matches.Value
$Params = $FunctionContent | Select-String -Pattern:([regex]'(?s)( \[Parameter)(.*?)(\})') -AllMatches
$ParameterContent = ($Params.Matches.Value | Where-Object { $_ -notlike '*DontShow*' -and $_ -notlike '${Limit}' -and $_ -notlike '*${Skip}*' })
$ParameterContent = ($Params.Matches.Value | Where-Object { $_ -notlike '*DontShow*' -and $_ -notlike '${Limit}' -and $_ -notlike '*${Skip}*' -and $_ -notlike '*${apiHost}*' -and $_ -notlike '*${consoleHost}*' })

# Check if there is only one parameter
if ($ParameterContent -is [string]) {
Expand All @@ -166,7 +166,7 @@ If (-not [System.String]::IsNullOrEmpty($Modules)) {
# declare param here string
$paramString = @"
"@
ForEach ($line in $($ParameterContent -split "`n")) {
foreach ($line in $($ParameterContent -split "`n")) {
# for the last item don't add a new line:
if ($line -eq $($ParameterContent -split "`n")[-1] ) {
$line = $line -replace '(^\s+|\s+$)', ''
Expand All @@ -183,7 +183,7 @@ If (-not [System.String]::IsNullOrEmpty($Modules)) {
}
$OutputType = (($FunctionContent | Select-String -Pattern:([regex]'(\[OutputType)(.*?)(\]\s+)')).Matches.Value).TrimEnd()
$CmdletBinding = (($FunctionContent | Select-String -Pattern:([regex]'(\[CmdletBinding)(.*?)(\]\s+)')).Matches.Value).TrimEnd()
If (-not [System.String]::IsNullOrEmpty($PSScriptInfo)) {
if (-not [System.String]::IsNullOrEmpty($PSScriptInfo)) {
$PSScriptInfo = $PSScriptInfo.Replace($SdkPrefix, $JumpCloudModulePrefix)
$PSScriptInfo = $PSScriptInfo.Replace("$NewCommandName.md", "$FunctionName.md")
}
Expand Down Expand Up @@ -226,21 +226,21 @@ $paramString
$NewScript | Out-File -FilePath:($OutputFilePath) -Force
# Validate script syntax
$ScriptAnalyzerResult = Invoke-ScriptAnalyzer -Path:($OutputFilePath) -Recurse -ExcludeRule PSShouldProcess, PSAvoidTrailingWhitespace, PSAvoidUsingWMICmdlet, PSAvoidUsingPlainTextForPassword, PSAvoidUsingUsernameAndPasswordParams, PSAvoidUsingInvokeExpression, PSUseDeclaredVarsMoreThanAssignments, PSUseSingularNouns, PSAvoidGlobalVars, PSUseShouldProcessForStateChangingFunctions, PSAvoidUsingWriteHost, PSAvoidUsingPositionalParameters
If ($ScriptAnalyzerResult) {
if ($ScriptAnalyzerResult) {
$ScriptAnalyzerResults += $ScriptAnalyzerResult
}

# Copy tests?
# Copy-Item -Path:($AutoRest_Tests) -Destination:($JCModule_Tests) -Force
# Update .Psd1 file
If ($NewCommandName -notin $PSD1_Module.ExportedFunctions.keys) {
if ($NewCommandName -notin $PSD1_Module.ExportedFunctions.keys) {
$Psd1.FunctionsToExport += $NewCommandName
Update-ModuleManifest -Path:($FilePath_psd1) -FunctionsToExport:($Psd1.FunctionsToExport)
}

}
}
}
} Else {
} else {
Write-Error ('No modules found!')
}
3 changes: 2 additions & 1 deletion PowerShell/JumpCloud Module/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Tests/*-TestResults.xml
Tests/*-TestResults.xml
PlatyPS.log
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/Docs/Connect-JCOnline.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Specific to JumpCloud development team to connect to staging dev environment.
Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: production, staging
Accepted values: STANDARD, staging, EU

Required: False
Position: 3
Expand Down
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: 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

Required: False
Position: Named
Expand Down
Loading
Loading