Skip to content

Commit

Permalink
Merge pull request #414 from TheJumpCloud/SA-2819_Get-JCCommandResult…
Browse files Browse the repository at this point in the history
…Parallel

scope headers variable in Get-JCCommandResult
  • Loading branch information
jworkmanjc authored Aug 31, 2022
2 parents b52fd72 + f3a7dd5 commit 07e36e8
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ parameters:
PublishToPSGallery:
description: "When `true` and when run against Master branch, this workflow will publish the latest code to PSGallery"
type: boolean
default: false
default: true
ManualModuleVersion:
description: "When `true` the pipeline will use the Module Version specified in JumpCloud Module JumpCloud.psd1 file"
type: boolean
default: false
default: true
orbs:
win: circleci/[email protected]
executors:
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.0.0
Help Version: 2.0.1
Locale: en-US
---

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

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

## DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion PowerShell/JumpCloud Module/JumpCloud.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>JumpCloud</id>
<version>2.0.0</version>
<version>2.0.1.6356-202208311453</version>
<description>PowerShell functions to manage a JumpCloud Directory-as-a-Service</description>
<authors>JumpCloud Solutions Architect Team</authors>
<owners>JumpCloud</owners>
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: 8/30/2022
# Generated on: 8/31/2022
#

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

# Version number of this module.
ModuleVersion = '2.0.0'
ModuleVersion = '2.0.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function Get-JCCommandResult () {
$JCUrlBasePath = $using:JCUrlBasePath
$URL = "$JCUrlBasePath/api/commandresults/$($_._id)"
try {
$CommandResults = Invoke-RestMethod -Method GET -Uri $URL -Headers $hdrs -UserAgent:($using:UserAgent)
$CommandResults = Invoke-RestMethod -Method GET -Uri $URL -Headers $using:hdrs -UserAgent:($using:UserAgent)
} catch {
throw $_
}
Expand Down
4 changes: 2 additions & 2 deletions PowerShell/ModuleBanner.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#### Latest Version

```
2.0.0
2.0.1
```

#### Banner Current
#### Banner Current

```
This release introduces Parallel processing functionality to several functions (Get-JCUser, Get-JCSystem, Get-JCSystemUser, Get-JCGroup, Get-JCSystemGroupMember, Get-JCUserGroupMember, Get-JCCommand, Get-JCCommandResult, Get-JCCommandTarget). This release modifies New-JCImportTemplate, Update and Import-JCUsersFromCSV to allow imports or updates with LDAP bind and MFA + EnrollmentDays to users
Expand Down
4 changes: 2 additions & 2 deletions PowerShell/ModuleChangelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## 2.0.0
## 2.0.1

Release Date: September 2, 2022
Release Date: September 1, 2022

#### RELEASE NOTES

Expand Down

0 comments on commit 07e36e8

Please sign in to comment.