Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
b144097
Updated Get-JCGroup to either call /api/v2/systemgroups , /api/v2/use…
shashisinghjc Mar 9, 2026
065349d
Test Updated for Get-JCGroup
shashisinghjc Mar 9, 2026
0cb42de
Generated New functions - Get-JcSdkSystemGroup, Get-JcSdkUserGroup, G…
shashisinghjc Mar 11, 2026
4cebb5a
tests updated.
shashisinghjc Mar 11, 2026
12eeff0
updated "Get-JcPolicyGroup.Tests"
shashisinghjc Mar 11, 2026
dbc318f
fixed "Duplicate SDK sync entry with mismatched casing"
shashisinghjc Mar 11, 2026
3700efa
fixed tests parameters
shashisinghjc Mar 11, 2026
42c557f
tests fixed for Get-JcPolicyGroup
shashisinghjc Mar 11, 2026
572a405
tests fixed for New-JCUserGroup 1.0
shashisinghjc Mar 11, 2026
242f575
changelog updated
shashisinghjc Mar 11, 2026
d49ae8d
changelog updated jumpcloud.psd1
shashisinghjc Mar 11, 2026
26fa983
test fixed - New-JCPolicyGroup
shashisinghjc Mar 11, 2026
7d7cb51
fixes
shashisinghjc Mar 11, 2026
376f62a
removed duplicate Policy functions from Public/Policies/PolicyGroups
shashisinghjc Mar 12, 2026
5b4ad5c
changelog updated
shashisinghjc Mar 12, 2026
fd197c3
some tests files capitalization fixed. Removed tests for older policy…
shashisinghjc Mar 12, 2026
5e89393
reg import data types
jworkmanjc Apr 14, 2026
1dccbaf
changelog date
jworkmanjc Apr 28, 2026
f8a065c
psd1 date
jworkmanjc Apr 28, 2026
06a21cd
regen from sdk
jworkmanjc Apr 28, 2026
c46a9a9
Run CI on release branch
jworkmanjc Apr 28, 2026
5bb0244
build Module
jworkmanjc Apr 28, 2026
cca79ca
generate docs
jworkmanjc Apr 28, 2026
9970849
missing tag
jworkmanjc Apr 28, 2026
970737e
module generation
jworkmanjc Apr 28, 2026
be436a7
ci on release branch
jworkmanjc Apr 28, 2026
a137c01
rename tests casing
jworkmanjc Apr 29, 2026
682ac51
missing functions
jworkmanjc Apr 29, 2026
b893239
missing pester tests + date
jworkmanjc Apr 30, 2026
bb2cff6
changelog
jworkmanjc Apr 30, 2026
636042b
pester params org
jworkmanjc Apr 30, 2026
5cc40d5
set-jcpolicyGroupMemberTest validation
jworkmanjc Apr 30, 2026
64556cd
JCPolicyGroupTests validated
jworkmanjc Apr 30, 2026
f1526dd
remove
jworkmanjc Apr 30, 2026
6c29127
new-jcpolicyGroup tests
jworkmanjc Apr 30, 2026
fbd8466
trash misnamed
jworkmanjc Apr 30, 2026
a3d958a
policy group tests
jworkmanjc Apr 30, 2026
a1ce4af
delete misnamed
jworkmanjc Apr 30, 2026
1785a6a
group member tests
jworkmanjc Apr 30, 2026
e15429a
pester org ID MSP
jworkmanjc Apr 30, 2026
23ecf4e
policy group
jworkmanjc Apr 30, 2026
4f52033
policy group tests
jworkmanjc Apr 30, 2026
b32c186
di data missing now in pester systems, skipping
jworkmanjc Apr 30, 2026
76bfa2f
test with jcagent not curl
jworkmanjc Apr 30, 2026
fa8f509
latest SDKs
jworkmanjc Apr 30, 2026
806188e
missing ',' [skip-ci]
jworkmanjc May 1, 2026
d40b62f
alias support for backwards compatible functions
jworkmanjc May 1, 2026
7bf5f2d
changelog
jworkmanjc May 1, 2026
f423e92
changelog date [skip ci]
jworkmanjc May 1, 2026
5739bf2
staging
jworkmanjc May 4, 2026
02cf4e9
staging address for SDK
jworkmanjc May 4, 2026
e689f08
validate set
jworkmanjc May 4, 2026
a7b6f28
date + changelog
jworkmanjc May 5, 2026
bae0bd5
start CI
jworkmanjc May 5, 2026
1ecdf86
Merge pull request #724 from TheJumpCloud/CUT-5073-Migrate-Jumpcloud-…
jworkmanjc May 5, 2026
62db7d6
version + date
jworkmanjc May 5, 2026
e777f80
reg import data types
jworkmanjc Apr 14, 2026
a438af1
date + changelog
jworkmanjc May 5, 2026
7449106
version + date
jworkmanjc May 5, 2026
9b6a3c2
Merge branch 'CUT-5114_regImportUpdateDataType' of ssh://github.com/T…
jworkmanjc May 6, 2026
d19bd23
release date
jworkmanjc May 6, 2026
cea143f
release date
jworkmanjc May 6, 2026
bb23020
Update Connect-JCOnline.ps1
jworkmanjc May 7, 2026
bd3622a
psm1 required to set valid staging address
jworkmanjc May 7, 2026
5995a87
Revert "psm1 required to set valid staging address"
jworkmanjc May 7, 2026
4f88cef
require staging address in psm1
jworkmanjc May 7, 2026
5387ca5
Merge pull request #739 from TheJumpCloud/CUT-5114_regImportUpdateDat…
jworkmanjc May 8, 2026
1a93cf9
set global / non-global parameters
jworkmanjc May 8, 2026
67211c1
Merge pull request #735 from TheJumpCloud/CUT-5129_StagingAddress
jworkmanjc May 8, 2026
f04a66d
chore: update release dates in manifest and changelog for v3.1.0
junioralmeida-82 May 12, 2026
ff99bbe
id alias
jworkmanjc May 12, 2026
7d20dfc
JcapiToSupportSync ID Bug + Docs Re-generate
jworkmanjc May 12, 2026
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
29 changes: 18 additions & 11 deletions .github/workflows/powershell-module-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
# Sequence of patterns matched against refs/heads
branches:
- "master"
- "v*.*.*_pwshModule"
paths:
- "PowerShell/Deploy/**"
- "PowerShell/JumpCloud Module/**"
Expand Down Expand Up @@ -98,20 +99,24 @@ 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 = '0.1.1'}
'JumpCloud.SDK.V2' = @{Repository = 'PSGallery'; RequiredVersion = '0.1.1'}
'JumpCloud.SDK.DirectoryInsights' = @{Repository = 'PSGallery'; RequiredVersion = '0.1.1'}
'JumpCloud.SDK.V1' = @{Repository = 'PSGallery'; RequiredVersion = 'latest'}
'JumpCloud.SDK.V2' = @{Repository = 'PSGallery'; RequiredVersion = 'latest'}
'JumpCloud.SDK.DirectoryInsights' = @{Repository = 'PSGallery'; RequiredVersion = 'latest'}
'powershell-yaml' = @{Repository = 'PSGallery'; RequiredVersion = '0.4.7'}
}

foreach ($RequiredModule in $PSDependencies.Keys) {
If ([System.String]::IsNullOrEmpty((Get-InstalledModule | Where-Object { $_.Name -eq $RequiredModule }))) {
Write-Host("[status]Installing module: '$RequiredModule'; version: $($PSDependencies[$RequiredModule].RequiredVersion) from $($PSDependencies[$RequiredModule].Repository)")
if ($($PSDependencies[$RequiredModule].RequiredVersion) -eq "latest"){
Install-Module -Name $RequiredModule -Repository:($($PSDependencies[$RequiredModule].Repository)) -AllowPrerelease -Force
} else {
Install-Module -Name $RequiredModule -Repository:($($PSDependencies[$RequiredModule].Repository)) -RequiredVersion:($($PSDependencies[$RequiredModule].RequiredVersion)) -AllowPrerelease -Force
}
$spec = $PSDependencies[$RequiredModule]
$requiredVersion = $spec.RequiredVersion
$repository = $spec.Repository
if ($requiredVersion -eq 'latest') {
Write-Host "[status]Installing latest '$RequiredModule' from $repository"
Install-Module -Name $RequiredModule -Repository $repository -AllowPrerelease -Force
continue
}
if ([System.String]::IsNullOrEmpty((Get-InstalledModule | Where-Object { $_.Name -eq $RequiredModule }))) {
Write-Host "[status]Installing module: '$RequiredModule'; version: $requiredVersion from $repository"
Install-Module -Name $RequiredModule -Repository $repository -RequiredVersion $requiredVersion -AllowPrerelease -Force
}
}

Expand Down Expand Up @@ -207,6 +212,7 @@ jobs:
Set-Variable -Name $_.Name -Value $_.Value -Scope Global
}
}
Set-Variable -Name PesterParams_Org -Value "$env:PESTER_ORGID" -Scope Global
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
Expand Down Expand Up @@ -235,10 +241,11 @@ jobs:
- shell: pwsh
env:
PESTER_APIKEY: ${{ secrets.PESTER_APIKEY }}
PESTER_ORGID: ${{ secrets.PESTER_ORGID }}
PESTER_ORGID: ${{ secrets.PESTER_MSP_ORGID }}
PESTER_MSP_APIKEY: ${{ secrets.PESTER_MSP_APIKEY }}
PESTER_PROVIDER_ID: ${{ secrets.PESTER_PROVIDER_ID }}
run: |
Set-Variable -Name PesterParams_ApiKeyMsp -Value "$env:PESTER_MSP_APIKEY" -Scope Global
Set-Variable -Name PESTER_ORGID -Value "$env:PESTER_MSP_ORGID" -Scope Global
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI references undefined environment variable for MSP org

High Severity

The Set-Variable on this line reads $env:PESTER_MSP_ORGID, but no environment variable named PESTER_MSP_ORGID is defined in the env: block. The block defines PESTER_ORGID (mapped to secrets.PESTER_MSP_ORGID), PESTER_APIKEY, PESTER_MSP_APIKEY, and PESTER_PROVIDER_ID. This means the PESTER_ORGID global variable will be set to an empty string, which could cause MSP test failures.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 7d20dfc. Configure here.


. "./PowerShell/JumpCloud Module/Tests/InvokePester.ps1" -JumpCloudApiKeyMsp "$env:PESTER_MSP_APIKEY" -JumpCloudMspOrg "$env:PESTER_ORGID" -ProviderID "$env:PESTER_PROVIDER_ID" -RequiredModulesRepo "PSGallery" -MSP
12 changes: 3 additions & 9 deletions PowerShell/Deploy/Build-Module.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
[CmdletBinding()]
param (
[Parameter()]
[String]
$GitSourceBranch,
[Parameter()]
[String]
$GitSourceRepo,
[Parameter()]
[String]
$ReleaseType,
Expand All @@ -19,15 +13,15 @@ param (
[Boolean]
$ManualModuleVersion
)
. "$PSScriptRoot/Get-Config.ps1" -GitSourceBranch:($GitSourceBranch) -GitSourceRepo:($GitSourceRepo) -ReleaseType:($ReleaseType) -RequiredModulesRepo:($RequiredModulesRepo)
. "$PSScriptRoot/Get-Config.ps1" -ModuleName:($ModuleName) -ModuleFolderName:("JumpCloud Module") -DeployFolder:("/PowerShell/Deploy")
# Region Checking PowerShell Gallery module version
Write-Host ('[status]Check PowerShell Gallery for module version info')
$PSGalleryInfo = Get-PSGalleryModuleVersion -Name:($ModuleName) -ReleaseType:($RELEASETYPE) #('Major', 'Minor', 'Patch')
# Check to see if ManualModuleVersion parameter is set to true
if ($ManualModuleVersion) {
$ManualModuleVersionRetrieval = Get-Content -Path:($FilePath_psd1) | Where-Object { $_ -like '*ModuleVersion*' }
$SemanticRegex = [Regex]"[0-9]+.[0-9]+.[0-9]+"
$SemeanticVersion = Select-String -InputObject $ManualModuleVersionRetrieval -pattern ($SemanticRegex)
$SemeanticVersion = Select-String -InputObject $ManualModuleVersionRetrieval -Pattern ($SemanticRegex)
$ModuleVersion = $SemeanticVersion[0].Matches.Value
} else {
$ModuleVersion = $PSGalleryInfo.NextVersion
Expand All @@ -45,7 +39,7 @@ New-JCModuleManifest -Path:($FilePath_psd1) `
Write-Host ('[status]Updating module change log: "' + $FilePath_ModuleChangelog + '"')
$ModuleChangelog = Get-Content -Path:($FilePath_ModuleChangelog)
$NewModuleChangelogRecord = New-ModuleChangelog -LatestVersion:($ModuleVersion) -ReleaseNotes:('{{Fill in the Release Notes}}') -Features:('{{Fill in the Features}}') -Improvements:('{{Fill in the Improvements}}') -BugFixes('{{Fill in the Bug Fixes}}')
If (!(($ModuleChangelog | Select-Object -First 1) -match $ModuleVersion)) {
if (!(($ModuleChangelog | Select-Object -First 1) -match $ModuleVersion)) {
($NewModuleChangelogRecord + ($ModuleChangelog | Out-String)).Trim() | Set-Content -Path:($FilePath_ModuleChangelog) -Force
}
# EndRegion Updating module change log
180 changes: 129 additions & 51 deletions PowerShell/Deploy/SdkSync/jcapiToSupportSync.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,56 +25,72 @@ $ApprovedFunctions = [Ordered]@{
# Destination = '/Public/Reports';
# }
);
#'JumpCloud.SDK.V2' = @(
# [PSCustomObject]@{
# Name = 'Get-JcSdkAppleMdm';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Remove-JcSdkAppleMdm';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Set-JcSdkAppleMdm';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Get-JcSdkAppleMdmCsr';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Get-JcSdkAppleMdmDepKey';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Clear-JcSdkAppleMdmDevice';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Get-JcSdkAppleMdmDevice';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Lock-JcSdkAppleMdmDevice';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Restart-JcSdkAppleMdmDevice';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Stop-JcSdkAppleMdmDevice';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Sync-JcSdkAppleMdmDevice';
# Destination = '/Public/AppleMdm';
# },
# [PSCustomObject]@{
# Name = 'Get-JcSdkAppleMdmEnrollmentProfile';
# Destination = '/Public/AppleMdm';
# }
#)
'JumpCloud.SDK.V2' = @(
[PSCustomObject]@{
Name = 'Get-JcSdkUserGroup';
Destination = '/Public/Groups/UserGroups';
},
[PSCustomObject]@{
Name = 'Get-JcSdkSystemGroup';
Destination = '/Public/Groups/SystemGroups';
},
[PSCustomObject]@{
Name = 'Get-JcSdkPolicyGroup';
Destination = '/Public/Groups/PolicyGroups';
IdentityParameter = @{
SdkName = 'Id'
Aliases = @('_id', 'PolicyGroupID')
}
},
[PSCustomObject]@{
Name = 'Get-JcSdkPolicyGroupMember';
Destination = '/Public/Groups/PolicyGroups';
IdentityParameter = @{
SdkName = 'GroupId'
Aliases = @('PolicyGroupID')
}
},
[PSCustomObject]@{
Name = 'Set-JcSdkUserGroup';
Destination = '/Public/Groups/UserGroups';
},
[PSCustomObject]@{
Name = 'Set-JcSdkSystemGroup';
Destination = '/Public/Groups/SystemGroups';
},
[PSCustomObject]@{
Name = 'Set-JcSdkPolicyGroup';
Destination = '/Public/Groups/PolicyGroups';
IdentityParameter = @{
SdkName = 'Id'
Aliases = @('_id', 'PolicyGroupID')
}
},
[PSCustomObject]@{
Name = 'Set-JcSdkPolicyGroupMember';
Destination = '/Public/Groups/PolicyGroups';
IdentityParameter = @{
SdkName = 'GroupId'
Aliases = @('PolicyGroupID')
}
},
[PSCustomObject]@{
Name = 'New-JcSdkPolicyGroup';
Destination = '/Public/Groups/PolicyGroups';
IdentityParameter = @{
SdkName = 'Id'
Aliases = @('_id', 'PolicyGroupID')
}
},
[PSCustomObject]@{
Name = 'Remove-JcSdkPolicyGroup';
Destination = '/Public/Groups/PolicyGroups';
IdentityParameter = @{
SdkName = 'Id'
Aliases = @('_id', 'PolicyGroupID')
}
}
)
}
$SdkPrefix = 'JcSdk'
$JumpCloudModulePrefix = 'JC'
Expand Down Expand Up @@ -147,6 +163,18 @@ if (-not [System.String]::IsNullOrEmpty($Modules)) {
}
# Extract the sections we want to copy over to our new function.
$PSScriptInfo = ($FunctionContent | Select-String -Pattern:([regex]'(?s)(<#)(.*?)(#>)')).Matches.Value
# Remove autorest/OpenAPI curl blocks (repeated under .Synopsis / .Description, etc.)
if (-not [System.String]::IsNullOrEmpty($PSScriptInfo)) {
$PSScriptInfo = [regex]::Replace(
$PSScriptInfo,
'(?ms)^\s*#### Sample Request\s*\r?\n```[\s\S]*?```\s*',
'')
# .Link docs URL must track master, not whatever branch the SDK was built from.
$PSScriptInfo = [regex]::Replace(
$PSScriptInfo,
'(https://github\.com/TheJumpCloud/jcapi-powershell/tree/)[^/\s\r\n]+(/)',
'${1}master$2')
}
$Params = $FunctionContent | Select-String -Pattern:([regex]'(?s)( \[Parameter)(.*?)(\})') -AllMatches
$ParameterContent = ($Params.Matches.Value | Where-Object { $_ -notlike '*DontShow*' -and $_ -notlike '${Limit}' -and $_ -notlike '*${Skip}*' -and $_ -notlike '*${apiHost}*' -and $_ -notlike '*${consoleHost}*' })

Expand Down Expand Up @@ -181,11 +209,61 @@ if (-not [System.String]::IsNullOrEmpty($Modules)) {
"@
}
}
# Proxy/cmdlet sources sometimes emit the Param body as one long line; split attributes before Alias insert.
$paramString = [regex]::Replace($paramString, '(?<=\])\s{2,}(?=\[)', "`n ")
$paramString = [regex]::Replace($paramString, '(?<=,)\s{2,}(?=\[Parameter)', "`n `n ")
# Optional: add [Alias(...)] on SDK identity param; if Name is set and differs from SdkName, rename ${SdkName} and splat to SDK cmdlet.
if ($Function.IdentityParameter -and $Function.IdentityParameter.SdkName) {
$ip = $Function.IdentityParameter
$sdkToken = '$' + '{' + $ip.SdkName + '}'
$shouldRename = $ip.Name -and ($ip.Name -cne $ip.SdkName)
if ($shouldRename) {
$wrapToken = '$' + '{' + $ip.Name + '}'
$paramString = $paramString.Replace($sdkToken, $wrapToken)
}
if ($ip.Aliases -and $ip.Aliases.Count -gt 0) {
$aliasList = (($ip.Aliases | ForEach-Object { "'$_'" }) -join ', ')
$aliasLine = " [Alias($aliasList)]"
$targetToken = if ($shouldRename) { '$' + '{' + $ip.Name + '}' } else { $sdkToken }
$targetEscaped = [regex]::Escape($targetToken)
# First Path + [System.String] + ${SdkName} only (excludes InputObject's IJumpCloudApiIdentity).
$aliasBeforePathStringId = '(?s)((?:\s*\[Parameter[^\]]+\]\s*)+)(\[JumpCloud\.SDK\.V2\.Category\(''Path''\)\]\s*\[System\.String\]\s*(?:#[^\r\n]*)?\s*' + $targetEscaped + ')'
$alreadyAliased = [regex]::Match($paramString, '(?s)\[Parameter[^\]]+\]\s*\[Alias\([^\]]+\)\]\s*\[JumpCloud\.SDK\.V2\.Category\(''Path''\)\]\s*\[System\.String\][\s\S]*?' + $targetEscaped).Success
if (-not $alreadyAliased -and $paramString -match $aliasBeforePathStringId) {
$paramString = [regex]::Replace($paramString, $aliasBeforePathStringId, "`$1`n$aliasLine`n `$2", 1)
}
}
}
$identityParamRenamed = $false
if ($Function.IdentityParameter -and $Function.IdentityParameter.SdkName -and $Function.IdentityParameter.Name -and ($Function.IdentityParameter.Name -cne $Function.IdentityParameter.SdkName)) {
$identityParamRenamed = $paramString -match ('\$\{' + [regex]::Escape($Function.IdentityParameter.Name) + '\}')
}
$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)) {
$PSScriptInfo = $PSScriptInfo.Replace($SdkPrefix, $JumpCloudModulePrefix)
$PSScriptInfo = $PSScriptInfo.Replace("$NewCommandName.md", "$FunctionName.md")
if ($identityParamRenamed -and $Function.IdentityParameter.SdkName) {
$ip = $Function.IdentityParameter
$PSScriptInfo = $PSScriptInfo.Replace("-$($ip.SdkName):(", "-$($ip.Name):(")
}
}

$processInvocation = if ($identityParamRenamed -and $Function.IdentityParameter.SdkName -and $Function.IdentityParameter.Name) {
$ip = $Function.IdentityParameter
@"
`$SdkParams = @{}
foreach (`$key in `$PSBoundParameters.Keys) {
if (`$key -eq '$($ip.Name)') {
`$SdkParams['$($ip.SdkName)'] = `$PSBoundParameters[`$key]
} else {
`$SdkParams[`$key] = `$PSBoundParameters[`$key]
}
}
`$Results = $($ModuleName)\$($CommandName) @SdkParams
"@
} else {
" `$Results = $($ModuleName)\$($CommandName) @PSBoundParameters"
}

# Build $BeginContent, $ProcessContent, and $EndContent
Expand All @@ -209,7 +287,7 @@ $paramString
`$Results = @()
}
Process {
`$Results = $($ModuleName)\$($CommandName) @PSBoundParameters
$processInvocation
}
End {
Return `$Results
Expand Down
7 changes: 2 additions & 5 deletions PowerShell/JumpCloud Module/Docs/Connect-JCOnline.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Specific to JumpCloud development team to connect to staging dev environment. [M
Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: STANDARD, staging, EU
Accepted values: STANDARD, STAGING, EU

Required: False
Position: 3
Expand Down Expand Up @@ -131,17 +131,14 @@ Accept wildcard characters: False
```

### CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### System.String

## OUTPUTS

### System.Object

## NOTES

## RELATED LINKS
## RELATED LINKS
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/Docs/Get-JCGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Note there are only two options - User and System.
Type: System.String
Parameter Sets: Type
Aliases:
Accepted values: User, System
Accepted values: User, System, Policy

Required: False
Position: 0
Expand Down
Loading
Loading