diff --git a/PowerShell/Deploy/Build-HelpFiles.ps1 b/PowerShell/Deploy/Build-HelpFiles.ps1 index b04028496..5bce8cffe 100755 --- a/PowerShell/Deploy/Build-HelpFiles.ps1 +++ b/PowerShell/Deploy/Build-HelpFiles.ps1 @@ -2,9 +2,59 @@ 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' - , [Parameter(Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = 'Language locale')][ValidateNotNullOrEmpty()][System.String]$Locale = 'en-US' + , [Parameter(Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = 'Language locale')][ValidateNotNullOrEmpty()][System.String]$Locale = 'en-Us' , [Parameter(Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = 'For adding comment based help')][ValidateNotNullOrEmpty()][System.Boolean]$AddCommentBasedHelp = $false ) +# modified from source: https://github.com/PowerShell/platyPS/issues/595#issuecomment-1820971702 +function Remove-CommonParameterFromMarkdown { + <# + .SYNOPSIS + Remove a PlatyPS generated parameter block. + + .DESCRIPTION + Removes parameter block for the provided parameter name from the markdown file provided. + + #> + param( + [Parameter(Mandatory)] + [string[]] + $Path, + + [Parameter(Mandatory = $false)] + [string[]] + $ParameterName = @('ProgressAction') + ) + $ErrorActionPreference = 'Stop' + $Docs = Get-ChildItem -Path $Path -Recurse + foreach ($p in $Docs) { + Write-Host "[status]Removing ProgressAction from $p" + $content = (Get-Content -Path $p -Raw).TrimEnd() + $updateFile = $false + foreach ($param in $ParameterName) { + if (-not ($Param.StartsWith('-'))) { + $param = "-$($param)" + } + # Remove the parameter block + $pattern = "(?m)^### $param\r?\n[\S\s]*?(?=#{2,3}?)" + $newContent = $content -replace $pattern, '' + # Remove the parameter from the syntax block + $pattern = " \[$param\s?.*?]" + $newContent = $newContent -replace $pattern, '' + if ($null -ne (Compare-Object -ReferenceObject $content -DifferenceObject $newContent)) { + Write-Verbose "Added $param to $p" + # Update file content + $content = $newContent + $updateFile = $true + } + } + # Save file if content has changed + if ($updateFile) { + $newContent | Out-File -Encoding utf8 -FilePath $p + Write-Verbose "Updated file: $p" + } + } + return +} # Define misc. vars $FilePath_Psd1 = "$ModulePath/$ModuleName.psd1" $FolderPath_Docs = "$ModulePath/Docs" @@ -140,6 +190,38 @@ Try { # Creating: .\en-Us\$ModuleName-help.xml and .\en-Us\about_$ModuleName.help.txt Write-Host ("[status]Creating: .\en-Us\$ModuleName-help.xml and .\en-Us\about_$ModuleName.help.txt") New-ExternalHelp -Path:($FolderPath_Docs) -OutputPath:($FolderPath_enUS) -Force # -ApplicableTag -Encoding -MaxAboutWidth -ErrorLogFile -ShowProgress + # Remove ProgressAction from Doc files (PowerShell 7.4.1 with PlatyPS) + Remove-CommonParameterFromMarkdown -Path:($FolderPath_Docs) + $ProgressActionXML1 = @" + + ProgressAction + + {{ Fill ProgressAction Description }} + + System.Management.Automation.ActionPreference + + System.Management.Automation.ActionPreference + + + None + +"@ + $ProgressActionXML2 = @" + + ProgressAction + + {{ Fill ProgressAction Description }} + + System.Management.Automation.ActionPreference + + System.Management.Automation.ActionPreference + + + None + +"@ + (Get-Content -Path "$FolderPath_enUS/JumpCloud-help.xml" -Raw).Replace($ProgressActionXML1, '') | Set-Content "$FolderPath_enUS/JumpCloud-help.xml" + (Get-Content -Path "$FolderPath_enUS/JumpCloud-help.xml" -Raw).Replace($ProgressActionXML2, '') | Set-Content "$FolderPath_enUS/JumpCloud-help.xml" } Catch { Write-Error ($_) } diff --git a/PowerShell/JumpCloud Module/Docs/Add-JCAssociation.md b/PowerShell/JumpCloud Module/Docs/Add-JCAssociation.md index e844bbf3c..7a4ae6616 100644 --- a/PowerShell/JumpCloud Module/Docs/Add-JCAssociation.md +++ b/PowerShell/JumpCloud Module/Docs/Add-JCAssociation.md @@ -14,14 +14,16 @@ Create an association between two object within the JumpCloud console. ### ById (Default) ``` -Add-JCAssociation [-Type] [-Force] [-Id] [[-TargetType] ] [[-TargetId] ] - [[-TargetName] ] [[-Attributes] ] [] +Add-JCAssociation [-Type] [-Force] [-Id] + [[-TargetType] ] [[-TargetId] ] [[-TargetName] ] [[-Attributes] ] + [] ``` ### ByName ``` -Add-JCAssociation [-Type] [-Force] [-Name] [[-TargetType] ] - [[-TargetId] ] [[-TargetName] ] [[-Attributes] ] [] +Add-JCAssociation [-Type] [-Force] [-Name] + [[-TargetType] ] [[-TargetId] ] [[-TargetName] ] [[-Attributes] ] + [] ``` ## DESCRIPTION @@ -181,4 +183,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Add-JCCommandTarget.md b/PowerShell/JumpCloud Module/Docs/Add-JCCommandTarget.md index 02e6296d3..2039acc1b 100644 --- a/PowerShell/JumpCloud Module/Docs/Add-JCCommandTarget.md +++ b/PowerShell/JumpCloud Module/Docs/Add-JCCommandTarget.md @@ -14,17 +14,20 @@ Associates a JumpCloud system or a JumpCloud system group with a JumpCloud comma ### SystemID (Default) ``` -Add-JCCommandTarget [-CommandID] [-SystemID] [] +Add-JCCommandTarget [-CommandID] [-SystemID] + [] ``` ### GroupID ``` -Add-JCCommandTarget [-CommandID] [-GroupID] [] +Add-JCCommandTarget [-CommandID] [-GroupID] + [] ``` ### GroupName ``` -Add-JCCommandTarget [-CommandID] [-GroupName] [] +Add-JCCommandTarget [-CommandID] [-GroupName] + [] ``` ## DESCRIPTION @@ -131,4 +134,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Add-JCGsuiteMember.md b/PowerShell/JumpCloud Module/Docs/Add-JCGsuiteMember.md index 00faa39f9..4a4d489b3 100644 --- a/PowerShell/JumpCloud Module/Docs/Add-JCGsuiteMember.md +++ b/PowerShell/JumpCloud Module/Docs/Add-JCGsuiteMember.md @@ -146,4 +146,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Add-JCOffice365Member.md b/PowerShell/JumpCloud Module/Docs/Add-JCOffice365Member.md index 0efd934c6..a7758795d 100644 --- a/PowerShell/JumpCloud Module/Docs/Add-JCOffice365Member.md +++ b/PowerShell/JumpCloud Module/Docs/Add-JCOffice365Member.md @@ -146,4 +146,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Add-JCRadiusReplyAttribute.md b/PowerShell/JumpCloud Module/Docs/Add-JCRadiusReplyAttribute.md index 230e015c3..afae20a23 100644 --- a/PowerShell/JumpCloud Module/Docs/Add-JCRadiusReplyAttribute.md +++ b/PowerShell/JumpCloud Module/Docs/Add-JCRadiusReplyAttribute.md @@ -14,8 +14,8 @@ Adds Radius reply attributes to a JumpCloud user group. ``` Add-JCRadiusReplyAttribute [-GroupName] [-VLAN ] [-NumberOfAttributes ] - -Attribute1_name -Attribute1_value -Attribute2_name -Attribute2_value - [-VLANTag ] [] + -Attribute1_name -Attribute1_value + -Attribute2_name -Attribute2_value [-VLANTag ] [] ``` ## DESCRIPTION @@ -208,4 +208,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Add-JCSystemGroupMember.md b/PowerShell/JumpCloud Module/Docs/Add-JCSystemGroupMember.md index 368c6c403..73988a07a 100644 --- a/PowerShell/JumpCloud Module/Docs/Add-JCSystemGroupMember.md +++ b/PowerShell/JumpCloud Module/Docs/Add-JCSystemGroupMember.md @@ -14,7 +14,8 @@ Adds a JumpCloud System to a JumpCloud System Group ### ByName (Default) ``` -Add-JCSystemGroupMember [-GroupName] -SystemID [] +Add-JCSystemGroupMember [-GroupName] -SystemID + [] ``` ### ByID @@ -153,4 +154,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Add-JCSystemUser.md b/PowerShell/JumpCloud Module/Docs/Add-JCSystemUser.md index 45e11f1a6..0383cee12 100644 --- a/PowerShell/JumpCloud Module/Docs/Add-JCSystemUser.md +++ b/PowerShell/JumpCloud Module/Docs/Add-JCSystemUser.md @@ -14,12 +14,14 @@ Associates a JumpCloud User account with a local account on a JumpCloud managed ### ByName (Default) ``` -Add-JCSystemUser [-Username] -SystemID [-Administrator ] [] +Add-JCSystemUser [-Username] -SystemID [-Administrator ] + [] ``` ### ByID ``` -Add-JCSystemUser -UserID -SystemID [-Administrator ] [] +Add-JCSystemUser -UserID -SystemID [-Administrator ] + [] ``` ## DESCRIPTION @@ -143,4 +145,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Add-JCUserGroupMember.md b/PowerShell/JumpCloud Module/Docs/Add-JCUserGroupMember.md index 40d98bddb..3cd4b5c18 100644 --- a/PowerShell/JumpCloud Module/Docs/Add-JCUserGroupMember.md +++ b/PowerShell/JumpCloud Module/Docs/Add-JCUserGroupMember.md @@ -14,12 +14,14 @@ Adds a JumpCloud user to a JumpCloud User Group. ### ByName (Default) ``` -Add-JCUserGroupMember [-GroupName] [-Username] [] +Add-JCUserGroupMember [-GroupName] [-Username] + [] ``` ### ByID ``` -Add-JCUserGroupMember [[-GroupName] ] [-ByID] [-GroupID ] -UserID [] +Add-JCUserGroupMember [[-GroupName] ] [-ByID] [-GroupID ] -UserID + [] ``` ## DESCRIPTION @@ -169,4 +171,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Backup-JCOrganization.md b/PowerShell/JumpCloud Module/Docs/Backup-JCOrganization.md index 7c5a0bbb5..b1fa0e926 100644 --- a/PowerShell/JumpCloud Module/Docs/Backup-JCOrganization.md +++ b/PowerShell/JumpCloud Module/Docs/Backup-JCOrganization.md @@ -14,7 +14,8 @@ Backup your JumpCloud organization to local json files ### All (Default) ``` -Backup-JCOrganization -Path [-All] [-Format ] [-PassThru] [] +Backup-JCOrganization -Path [-All] [-Format ] [-PassThru] + [] ``` ### Type @@ -171,4 +172,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -[https://github.com/TheJumpCloud/support/tree/master/PowerShell/JumpCloud%20Module/Docs/Backup-JCOrganization.md](https://github.com/TheJumpCloud/support/tree/master/PowerShell/JumpCloud%20Module/Docs/Backup-JCOrganization.md) +[https://github.com/TheJumpCloud/support/tree/master/PowerShell/JumpCloud%20Module/Docs/Backup-JCOrganization.md](https://github.com/TheJumpCloud/support/tree/master/PowerShell/JumpCloud%20Module/Docs/Backup-JCOrganization.md) diff --git a/PowerShell/JumpCloud Module/Docs/Connect-JCOnline.md b/PowerShell/JumpCloud Module/Docs/Connect-JCOnline.md index 1d8a948e1..939c52a85 100644 --- a/PowerShell/JumpCloud Module/Docs/Connect-JCOnline.md +++ b/PowerShell/JumpCloud Module/Docs/Connect-JCOnline.md @@ -13,8 +13,8 @@ The Connect-JCOnline function sets the global variable $JCAPIKEY ## SYNTAX ``` -Connect-JCOnline [-force] [-JumpCloudApiKey] [[-JumpCloudOrgId] ] [[-JCEnvironment] ] - [] +Connect-JCOnline [-force] [-JumpCloudApiKey] + [[-JumpCloudOrgId] ] [[-JCEnvironment] ] [] ``` ## DESCRIPTION @@ -122,4 +122,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Copy-JCAssociation.md b/PowerShell/JumpCloud Module/Docs/Copy-JCAssociation.md index 2a8e9947d..14d0f1d61 100644 --- a/PowerShell/JumpCloud Module/Docs/Copy-JCAssociation.md +++ b/PowerShell/JumpCloud Module/Docs/Copy-JCAssociation.md @@ -14,14 +14,16 @@ Copy the associations from one object to another. ### ById (Default) ``` -Copy-JCAssociation [-Type] [-Force] [-Id] [[-TargetId] ] [[-TargetName] ] - [-RemoveExisting] [[-IncludeType] ] [[-ExcludeType] ] [] +Copy-JCAssociation [-Type] [-Force] [-Id] + [[-TargetId] ] [[-TargetName] ] [-RemoveExisting] [[-IncludeType] ] + [[-ExcludeType] ] [] ``` ### ByName ``` -Copy-JCAssociation [-Type] [-Force] [-Name] [[-TargetId] ] [[-TargetName] ] - [-RemoveExisting] [[-IncludeType] ] [[-ExcludeType] ] [] +Copy-JCAssociation [-Type] [-Force] [-Name] + [[-TargetId] ] [[-TargetName] ] [-RemoveExisting] [[-IncludeType] ] + [[-ExcludeType] ] [] ``` ## DESCRIPTION @@ -196,4 +198,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCAdmin.md b/PowerShell/JumpCloud Module/Docs/Get-JCAdmin.md new file mode 100644 index 000000000..36e7e62c8 --- /dev/null +++ b/PowerShell/JumpCloud Module/Docs/Get-JCAdmin.md @@ -0,0 +1,171 @@ +--- +external help file: JumpCloud-help.xml +Module Name: JumpCloud +online version: https://github.com/TheJumpCloud/support/wiki/ +schema: 2.0.0 +--- + +# Get-JCAdmin + +## SYNOPSIS +Gets JumpCloud administrators in your organization + +## SYNTAX + +``` +Get-JCAdmin [[-email] ] [[-enableMultifactor] ] [[-totpEnrolled] ] + [[-roleName] ] [[-organization] ] [] +``` + +## DESCRIPTION +Allows you to search for JumpCloud administrators in your organization. If you have a MSP/MTP tenant, you can query all administrators across all organizations + +## EXAMPLES + +### Example 1 +```powershell +PS C:\> Get-JCAdmin +``` + +Returns all administrators + +### Example 2 +```powershell +PS C:\> Get-JCAdmin -email "john.doe@example.com" +``` + +Returns a specific administrator using their email address + +### Example 3 +```powershell +PS C:\> Get-JCAdmin -email "john*" +``` + +Returns all administrators that contains john in their email address + +### Example 4 +```powershell +PS C:\> Get-JCAdmin -enableMultifactor $true +``` + +Returns all administrators that have multifactor enabled + +### Example 5 +```powershell +PS C:\> Get-JCAdmin -totpEnrolled $true +``` + +Returns all administrators that have totp enabled/enrolled + +### Example 6 +```powershell +PS C:\> Get-JCAdmin -roleName "Administrator With Billing" +``` + +Returns all administrators that have the Administrator With Billing role + +### Example 7 +```powershell +PS C:\> Get-JCAdmin -email "john*" -enableMultiFactor $true -roleName "Administrator With Billing" +``` + +Returns all administrators that contains john in their email address, have mutlifactor enabled and have the Administrator With Billing role + +### Example 8 +```powershell +PS C:\> Get-JCAdmin -organization "organizationID" +``` + +Returns all administrators that are within a specific organization (this can only be utilized by MTP/MSP tenants) + +## PARAMETERS + +### -email +The email of the JumpCloud admin you wish to search for. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: 0 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -enableMultifactor +A search filter to search for admins with multifactor enabled/disabled. + +```yaml +Type: System.Boolean +Parameter Sets: (All) +Aliases: + +Required: False +Position: 1 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -organization +A search filter to search for admins based on their organization (Only for MTP/MSP tenants) + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: organizationID + +Required: False +Position: 4 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -roleName +A search filter to search for admins based on their role + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: +Accepted values: Administrator With Billing, Administrator, Manager, Command Runner With Billing, Command Runner, Help Desk, Billing Only, Read Only + +Required: False +Position: 3 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -totpEnrolled +A search filter to search for admins with totp enabled/disabled. + +```yaml +Type: System.Boolean +Parameter Sets: (All) +Aliases: + +Required: False +Position: 2 +Default value: None +Accept pipeline input: True (ByPropertyName) +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 +### System.Boolean +## OUTPUTS + +### System.Object +## NOTES + +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCAssociation.md b/PowerShell/JumpCloud Module/Docs/Get-JCAssociation.md index 725b1d33a..1e1fe5b4b 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCAssociation.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCAssociation.md @@ -14,30 +14,30 @@ The function Get-JCAssociation can be used to query an object's associations and ### ById (Default) ``` -Get-JCAssociation [-Type] [-Force] [-Id] [[-Fields] ] [[-Limit] ] - [[-Skip] ] [[-Paginate] ] [[-TargetType] ] [-Direct] [-Indirect] [-IncludeInfo] - [-IncludeNames] [-IncludeVisualPath] [] +Get-JCAssociation [-Type] [-Force] [-Id] + [[-Fields] ] [[-Limit] ] [[-Skip] ] [[-Paginate] ] [[-TargetType] ] + [-Direct] [-Indirect] [-IncludeInfo] [-IncludeNames] [-IncludeVisualPath] [] ``` ### ByName ``` -Get-JCAssociation [-Type] [-Force] [-Name] [[-Fields] ] [[-Limit] ] - [[-Skip] ] [[-Paginate] ] [[-TargetType] ] [-Direct] [-Indirect] [-IncludeInfo] - [-IncludeNames] [-IncludeVisualPath] [] +Get-JCAssociation [-Type] [-Force] [-Name] + [[-Fields] ] [[-Limit] ] [[-Skip] ] [[-Paginate] ] [[-TargetType] ] + [-Direct] [-Indirect] [-IncludeInfo] [-IncludeNames] [-IncludeVisualPath] [] ``` ### ByValue ``` -Get-JCAssociation [-Type] [-Force] [[-Fields] ] [[-Limit] ] [[-Skip] ] - [[-Paginate] ] [[-TargetType] ] [-Direct] [-Indirect] [-IncludeInfo] [-IncludeNames] - [-IncludeVisualPath] [] +Get-JCAssociation [-Type] [-Force] [[-Fields] ] + [[-Limit] ] [[-Skip] ] [[-Paginate] ] [[-TargetType] ] [-Direct] [-Indirect] + [-IncludeInfo] [-IncludeNames] [-IncludeVisualPath] [] ``` ### Default ``` -Get-JCAssociation [-Type] [-Force] [[-Fields] ] [[-Limit] ] [[-Skip] ] - [[-Paginate] ] [[-TargetType] ] [-Direct] [-Indirect] [-IncludeInfo] [-IncludeNames] - [-IncludeVisualPath] [] +Get-JCAssociation [-Type] [-Force] [[-Fields] ] + [[-Limit] ] [[-Skip] ] [[-Paginate] ] [[-TargetType] ] [-Direct] [-Indirect] + [-IncludeInfo] [-IncludeNames] [-IncludeVisualPath] [] ``` ## DESCRIPTION @@ -311,4 +311,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCBackup.md b/PowerShell/JumpCloud Module/Docs/Get-JCBackup.md index 0f8b7342f..bb1755a00 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCBackup.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCBackup.md @@ -13,7 +13,8 @@ Backs up JumpCloud directory information to CSV ## SYNTAX ``` -Get-JCBackup [-All] [-Users] [-SystemUsers] [-Systems] [-UserGroups] [-SystemGroups] [] +Get-JCBackup [-All] [-Users] [-SystemUsers] [-Systems] [-UserGroups] [-SystemGroups] + [] ``` ## DESCRIPTION @@ -276,4 +277,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCCloudDirectory.md b/PowerShell/JumpCloud Module/Docs/Get-JCCloudDirectory.md index 8c996dbfb..1252f2cc1 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCCloudDirectory.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCCloudDirectory.md @@ -19,7 +19,8 @@ Get-JCCloudDirectory [-Type ] [] ### ByName ``` -Get-JCCloudDirectory [-Type ] [-Name ] [] +Get-JCCloudDirectory [-Type ] [-Name ] + [] ``` ### ByID @@ -126,4 +127,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCCommand.md b/PowerShell/JumpCloud Module/Docs/Get-JCCommand.md index fc43517a3..9c47837e2 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCCommand.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCCommand.md @@ -15,7 +15,8 @@ Returns all JumpCloud Commands within a JumpCloud tenant or a single JumpCloud C ### SearchFilter (Default) ``` Get-JCCommand [-command ] [-name ] [-commandType ] [-launchType ] - [-trigger ] [-scheduleRepeatType ] [-returnProperties ] [] + [-trigger ] [-scheduleRepeatType ] [-returnProperties ] + [] ``` ### ByID @@ -239,4 +240,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCCommandResult.md b/PowerShell/JumpCloud Module/Docs/Get-JCCommandResult.md index 73953e9d7..c62b8b0c8 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCCommandResult.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCCommandResult.md @@ -24,7 +24,8 @@ Get-JCCommandResult [-CommandResultID] [] ### ByCommandID ``` -Get-JCCommandResult [-CommandID ] [-ByCommandID] [] +Get-JCCommandResult [-CommandID ] [-ByCommandID] + [] ``` ### Detailed @@ -182,4 +183,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCCommandTarget.md b/PowerShell/JumpCloud Module/Docs/Get-JCCommandTarget.md index 6251f3cf3..82bbd9d16 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCCommandTarget.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCCommandTarget.md @@ -85,4 +85,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCEvent.md b/PowerShell/JumpCloud Module/Docs/Get-JCEvent.md index f22b00223..71fe2c16d 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCEvent.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCEvent.md @@ -16,8 +16,8 @@ Query the API for Directory Insights events ``` Get-JCEvent -Service -StartTime [-EndTime ] [-Fields ] [-Limit ] [-Q ] [-SearchAfter ] [-SearchTermAnd ] - [-SearchTermNot ] [-SearchTermOr ] [-Sort ] [-WhatIf] [-Confirm] - [] + [-SearchTermNot ] [-SearchTermOr ] [-Sort ] + [-WhatIf] [-Confirm] [] ``` ### Get @@ -333,5 +333,4 @@ Known services: systems,radius,sso,directory,ldap,all ## RELATED LINKS -[https://github.com/TheJumpCloud/support/wiki/Get-JCEvent](https://github.com/TheJumpCloud/support/wiki/Get-JCEvent) - +[https://github.com/TheJumpCloud/support/wiki/Get-JCEvent](https://github.com/TheJumpCloud/support/wiki/Get-JCEvent) diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCEventCount.md b/PowerShell/JumpCloud Module/Docs/Get-JCEventCount.md index c45e45db6..5cdeb0ece 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCEventCount.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCEventCount.md @@ -16,12 +16,14 @@ Query the API for a count of matching events ``` Get-JCEventCount -Service -StartTime [-EndTime ] [-Fields ] [-Q ] [-SearchAfter ] [-SearchTermAnd ] [-SearchTermNot ] - [-SearchTermOr ] [-Sort ] [-WhatIf] [-Confirm] [] + [-SearchTermOr ] [-Sort ] [-WhatIf] [-Confirm] + [] ``` ### Get ``` -Get-JCEventCount -Body [-WhatIf] [-Confirm] [] +Get-JCEventCount -Body [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -290,5 +292,4 @@ If any term matches, the event will be returned by the service. ## RELATED LINKS -[https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/jumpcloud.sdk.directoryinsights/get-jcsdkeventcount](https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/jumpcloud.sdk.directoryinsights/get-jcsdkeventcount) - +[https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/jumpcloud.sdk.directoryinsights/get-jcsdkeventcount](https://github.com/TheJumpCloud/jcapi-powershell/tree/master/SDKs/PowerShell/jumpcloud.sdk.directoryinsights/get-jcsdkeventcount) diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCGroup.md b/PowerShell/JumpCloud Module/Docs/Get-JCGroup.md index bbb6f15f0..6cbbf3811 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCGroup.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCGroup.md @@ -100,4 +100,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCOrganization.md b/PowerShell/JumpCloud Module/Docs/Get-JCOrganization.md index 7f46f72e5..42407aea8 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCOrganization.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCOrganization.md @@ -41,4 +41,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCPolicy.md b/PowerShell/JumpCloud Module/Docs/Get-JCPolicy.md index 4bdda53b1..290d7c5c6 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCPolicy.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCPolicy.md @@ -112,4 +112,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCPolicyResult.md b/PowerShell/JumpCloud Module/Docs/Get-JCPolicyResult.md index d5faf5231..6edd07610 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCPolicyResult.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCPolicyResult.md @@ -162,4 +162,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCPolicyTargetGroup.md b/PowerShell/JumpCloud Module/Docs/Get-JCPolicyTargetGroup.md index 223bc7b4b..177fd3bb1 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCPolicyTargetGroup.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCPolicyTargetGroup.md @@ -19,7 +19,8 @@ Get-JCPolicyTargetGroup [-PolicyID] [] ### ByName ``` -Get-JCPolicyTargetGroup [-ByName] [-PolicyName] [] +Get-JCPolicyTargetGroup [-ByName] [-PolicyName] + [] ``` ## DESCRIPTION @@ -107,4 +108,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCPolicyTargetSystem.md b/PowerShell/JumpCloud Module/Docs/Get-JCPolicyTargetSystem.md index 1234d1f4e..e375883ab 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCPolicyTargetSystem.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCPolicyTargetSystem.md @@ -19,7 +19,8 @@ Get-JCPolicyTargetSystem [-PolicyID] [] ### ByName ``` -Get-JCPolicyTargetSystem [-ByName] [-PolicyName] [] +Get-JCPolicyTargetSystem [-ByName] [-PolicyName] + [] ``` ## DESCRIPTION @@ -107,4 +108,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCRadiusReplyAttribute.md b/PowerShell/JumpCloud Module/Docs/Get-JCRadiusReplyAttribute.md index e7a087ded..6c82df9b3 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCRadiusReplyAttribute.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCRadiusReplyAttribute.md @@ -59,4 +59,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCRadiusServer.md b/PowerShell/JumpCloud Module/Docs/Get-JCRadiusServer.md index ff843e05e..1509d66cf 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCRadiusServer.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCRadiusServer.md @@ -14,26 +14,26 @@ Return JumpCloud radius server information. ### Default (Default) ``` -Get-JCRadiusServer [-Force] [[-Fields] ] [[-Limit] ] [[-Skip] ] [[-Paginate] ] - [] +Get-JCRadiusServer [-Force] [[-Fields] ] [[-Limit] ] + [[-Skip] ] [[-Paginate] ] [] ``` ### ById ``` -Get-JCRadiusServer [-Force] [-Id] [[-Fields] ] [[-Limit] ] [[-Skip] ] - [[-Paginate] ] [] +Get-JCRadiusServer [-Force] [-Id] [[-Fields] ] + [[-Limit] ] [[-Skip] ] [[-Paginate] ] [] ``` ### ByName ``` -Get-JCRadiusServer [-Force] [-Name] [[-Fields] ] [[-Limit] ] [[-Skip] ] - [[-Paginate] ] [] +Get-JCRadiusServer [-Force] [-Name] [[-Fields] ] + [[-Limit] ] [[-Skip] ] [[-Paginate] ] [] ``` ### ByValue ``` -Get-JCRadiusServer [-Force] [[-Fields] ] [[-Limit] ] [[-Skip] ] [[-Paginate] ] - [] +Get-JCRadiusServer [-Force] [[-Fields] ] [[-Limit] ] + [[-Skip] ] [[-Paginate] ] [] ``` ## DESCRIPTION @@ -186,4 +186,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCScheduledUserstate.md b/PowerShell/JumpCloud Module/Docs/Get-JCScheduledUserstate.md index f7e171cd7..29cbe0078 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCScheduledUserstate.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCScheduledUserstate.md @@ -93,4 +93,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCSystem.md b/PowerShell/JumpCloud Module/Docs/Get-JCSystem.md index a610da2dd..d8c741a9c 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCSystem.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCSystem.md @@ -25,7 +25,8 @@ Get-JCSystem [[-hostname] ] [-displayName ] [-description [-SystemFDEKey] -dateFilter -date [] +Get-JCSystem -SystemID [-SystemFDEKey] -dateFilter + -date [] ``` ## DESCRIPTION @@ -470,4 +471,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCSystemApp.md b/PowerShell/JumpCloud Module/Docs/Get-JCSystemApp.md index fe70b6a64..c3d8b2d78 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCSystemApp.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCSystemApp.md @@ -166,4 +166,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCSystemGroupMember.md b/PowerShell/JumpCloud Module/Docs/Get-JCSystemGroupMember.md index dad9d0314..833a62a05 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCSystemGroupMember.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCSystemGroupMember.md @@ -91,4 +91,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCSystemInsights.md b/PowerShell/JumpCloud Module/Docs/Get-JCSystemInsights.md index 716c76704..15bbe7621 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCSystemInsights.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCSystemInsights.md @@ -14,7 +14,8 @@ Using this function you can easily gather heightened levels of information from ## SYNTAX ``` -Get-JCSystemInsights -Table [-SystemId ] [-Filter ] [] +Get-JCSystemInsights -Table [-SystemId ] [-Filter ] + [] ``` ## DESCRIPTION @@ -108,5 +109,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -[Online Version:](https://github.com/TheJumpCloud/support/wiki/Get-JCSystemInsights) - +[Online Version:](https://github.com/TheJumpCloud/support/wiki/Get-JCSystemInsights) diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCSystemUser.md b/PowerShell/JumpCloud Module/Docs/Get-JCSystemUser.md index 54f2a489e..ee2230906 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCSystemUser.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCSystemUser.md @@ -87,4 +87,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCUser.md b/PowerShell/JumpCloud Module/Docs/Get-JCUser.md index 1c9e417f5..f5869a7bf 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCUser.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCUser.md @@ -25,12 +25,14 @@ Get-JCUser [[-username] ] [-firstname ] [-lastname ] [-e [-employeeIdentifier ] [-department ] [-costCenter ] [-company ] [-employeeType ] [-description ] [-location ] [-external_dn ] [-external_source_type ] [-managedAppleId ] [-manager ] [-state ] - [-recoveryEmail ] -dateFilter -date [] + [-recoveryEmail ] -dateFilter -date + [] ``` ### ByID ``` -Get-JCUser -userid -dateFilter -date [] +Get-JCUser -userid -dateFilter -date + [] ``` ## DESCRIPTION @@ -750,4 +752,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Get-JCUserGroupMember.md b/PowerShell/JumpCloud Module/Docs/Get-JCUserGroupMember.md index 85739e29d..db82cbe0b 100644 --- a/PowerShell/JumpCloud Module/Docs/Get-JCUserGroupMember.md +++ b/PowerShell/JumpCloud Module/Docs/Get-JCUserGroupMember.md @@ -91,4 +91,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Import-JCCommand.md b/PowerShell/JumpCloud Module/Docs/Import-JCCommand.md index 49b10b6f8..a4b9001fc 100644 --- a/PowerShell/JumpCloud Module/Docs/Import-JCCommand.md +++ b/PowerShell/JumpCloud Module/Docs/Import-JCCommand.md @@ -58,4 +58,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Import-JCMSPFromCSV.md b/PowerShell/JumpCloud Module/Docs/Import-JCMSPFromCSV.md index 01f19ffc4..fb9f0495a 100644 --- a/PowerShell/JumpCloud Module/Docs/Import-JCMSPFromCSV.md +++ b/PowerShell/JumpCloud Module/Docs/Import-JCMSPFromCSV.md @@ -20,7 +20,8 @@ Import-JCMSPFromCSV [-CSVFilePath] [] ### force ``` -Import-JCMSPFromCSV [-CSVFilePath] [-force] [-ProviderID ] [] +Import-JCMSPFromCSV [-CSVFilePath] [-force] [-ProviderID ] + [] ``` ## DESCRIPTION @@ -111,4 +112,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Import-JCUsersFromCSV.md b/PowerShell/JumpCloud Module/Docs/Import-JCUsersFromCSV.md index 74d20ddcc..f425c74e9 100644 --- a/PowerShell/JumpCloud Module/Docs/Import-JCUsersFromCSV.md +++ b/PowerShell/JumpCloud Module/Docs/Import-JCUsersFromCSV.md @@ -19,7 +19,8 @@ Import-JCUsersFromCSV [-CSVFilePath] [] ### force ``` -Import-JCUsersFromCSV [-CSVFilePath] [-force] [] +Import-JCUsersFromCSV [-CSVFilePath] [-force] + [] ``` ## DESCRIPTION @@ -106,4 +107,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Invoke-JCCommand.md b/PowerShell/JumpCloud Module/Docs/Invoke-JCCommand.md index bd4d6075c..32e70e0bb 100644 --- a/PowerShell/JumpCloud Module/Docs/Invoke-JCCommand.md +++ b/PowerShell/JumpCloud Module/Docs/Invoke-JCCommand.md @@ -14,14 +14,15 @@ Triggers a JumpCloud Command to run by calling the trigger associated with the C ### NoVariables (Default) ``` -Invoke-JCCommand [-trigger] -Variable1_name -Variable1_value - -Variable2_name -Variable2_value [] +Invoke-JCCommand [-trigger] -Variable1_name + -Variable1_value -Variable2_name -Variable2_value [] ``` ### Variables ``` -Invoke-JCCommand [-trigger] [-NumberOfVariables ] -Variable1_name - -Variable1_value -Variable2_name -Variable2_value [] +Invoke-JCCommand [-trigger] [-NumberOfVariables ] + -Variable1_name -Variable1_value -Variable2_name -Variable2_value + [] ``` ## DESCRIPTION @@ -168,4 +169,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Invoke-JCDeployment.md b/PowerShell/JumpCloud Module/Docs/Invoke-JCDeployment.md index 5a0a6c126..674a4e704 100644 --- a/PowerShell/JumpCloud Module/Docs/Invoke-JCDeployment.md +++ b/PowerShell/JumpCloud Module/Docs/Invoke-JCDeployment.md @@ -13,7 +13,8 @@ Triggers a JumpCloud Command Deployment using the CommandID and a filled out dep ## SYNTAX ``` -Invoke-JCDeployment [-CommandID] -CSVFilePath [] +Invoke-JCDeployment [-CommandID] -CSVFilePath + [] ``` ## DESCRIPTION @@ -89,4 +90,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/JumpCloud.md b/PowerShell/JumpCloud Module/Docs/JumpCloud.md index bfee0a621..30e23380b 100644 --- a/PowerShell/JumpCloud Module/Docs/JumpCloud.md +++ b/PowerShell/JumpCloud Module/Docs/JumpCloud.md @@ -2,8 +2,8 @@ Module Name: JumpCloud Module Guid: 31c023d1-a901-48c4-90a3-082f91b31646 Download Help Link: https://github.com/TheJumpCloud/support/wiki -Help Version: 2.12.0 -Locale: en-US +Help Version: 2.13.0 +Locale: en-Us --- # JumpCloud Module @@ -44,6 +44,9 @@ The Connect-JCOnline function sets the global variable $JCAPIKEY ### [Copy-JCAssociation](Copy-JCAssociation.md) Copy the associations from one object to another. +### [Get-JCAdmin](Get-JCAdmin.md) +Gets JumpCloud administrators in your organization + ### [Get-JCAssociation](Get-JCAssociation.md) The function Get-JCAssociation can be used to query an object's associations and then provide information about how objects are associated with one another. diff --git a/PowerShell/JumpCloud Module/Docs/New-JCCommand.md b/PowerShell/JumpCloud Module/Docs/New-JCCommand.md index 1b2f80ecc..b70e8615f 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCCommand.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCCommand.md @@ -14,7 +14,8 @@ Creates a new JumpCloud Mac, Linux, or Windows command ``` New-JCCommand [-name] [-commandType] [-command] [[-launchType] ] - [[-timeout] ] [-shell ] [-user ] -trigger [] + [[-timeout] ] [-shell ] [-user ] + -trigger [] ``` ## DESCRIPTION @@ -171,4 +172,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/New-JCDeploymentTemplate.md b/PowerShell/JumpCloud Module/Docs/New-JCDeploymentTemplate.md index 3c8a68823..045ba0de7 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCDeploymentTemplate.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCDeploymentTemplate.md @@ -65,4 +65,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/New-JCImportTemplate.md b/PowerShell/JumpCloud Module/Docs/New-JCImportTemplate.md index 3f35a7704..dc06936e1 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCImportTemplate.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCImportTemplate.md @@ -84,4 +84,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/New-JCMSPImportTemplate.md b/PowerShell/JumpCloud Module/Docs/New-JCMSPImportTemplate.md index 90ef34215..46c8a440c 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCMSPImportTemplate.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCMSPImportTemplate.md @@ -81,4 +81,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/New-JCPolicy.md b/PowerShell/JumpCloud Module/Docs/New-JCPolicy.md index db9eacfb7..ada3cf93a 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCPolicy.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCPolicy.md @@ -19,12 +19,14 @@ At a minimum to display the dynamic set of parameters per template, the `Templat ### ByID (Default) ``` -New-JCPolicy -TemplateID [-Name ] [-Values ] [] +New-JCPolicy -TemplateID [-Name ] [-Values ] + [] ``` ### ByName ``` -New-JCPolicy -TemplateName [-Name ] [-Values ] [] +New-JCPolicy -TemplateName [-Name ] [-Values ] + [] ``` ## DESCRIPTION @@ -158,4 +160,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/New-JCRadiusServer.md b/PowerShell/JumpCloud Module/Docs/New-JCRadiusServer.md index 8e7987599..41317e8a0 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCRadiusServer.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCRadiusServer.md @@ -13,8 +13,8 @@ Creates a JumpCloud radius server. ## SYNTAX ``` -New-JCRadiusServer [-Force] [-Name] [-networkSourceIp] [[-sharedSecret] ] - [[-authIdp] ] [] +New-JCRadiusServer [-Force] [-Name] [-networkSourceIp] + [[-sharedSecret] ] [[-authIdp] ] [] ``` ## DESCRIPTION @@ -120,4 +120,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/New-JCSystemGroup.md b/PowerShell/JumpCloud Module/Docs/New-JCSystemGroup.md index b2a9e192b..be1cd3970 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCSystemGroup.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCSystemGroup.md @@ -56,4 +56,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/New-JCUser.md b/PowerShell/JumpCloud Module/Docs/New-JCUser.md index ba53d8a0c..d931998c3 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCUser.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCUser.md @@ -25,9 +25,9 @@ New-JCUser -firstname -lastname -username -email ] [-home_locality ] [-home_region ] [-home_postalCode ] [-home_country ] [-mobile_number ] [-home_number ] [-work_number ] [-work_mobile_number ] [-work_fax_number ] [-state ] [-manager ] - [-managedAppleId ] [-alternateEmail ] [-recoveryEmail ] [-enrollmentDays ] - -Attribute1_name -Attribute1_value -Attribute2_name -Attribute2_value - [] + [-managedAppleId ] [-alternateEmail ] [-recoveryEmail ] + [-enrollmentDays ] -Attribute1_name + -Attribute1_value -Attribute2_name -Attribute2_value [] ``` ### Attributes @@ -44,8 +44,8 @@ New-JCUser -firstname -lastname -username -email ] [-home_country ] [-mobile_number ] [-home_number ] [-work_number ] [-work_mobile_number ] [-work_fax_number ] [-state ] [-manager ] [-managedAppleId ] [-alternateEmail ] [-recoveryEmail ] - [-enrollmentDays ] -Attribute1_name -Attribute1_value -Attribute2_name - -Attribute2_value [] + [-enrollmentDays ] -Attribute1_name + -Attribute1_value -Attribute2_name -Attribute2_value [] ``` ## DESCRIPTION @@ -911,4 +911,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/New-JCUserGroup.md b/PowerShell/JumpCloud Module/Docs/New-JCUserGroup.md index 9ed2b7274..793e19b44 100644 --- a/PowerShell/JumpCloud Module/Docs/New-JCUserGroup.md +++ b/PowerShell/JumpCloud Module/Docs/New-JCUserGroup.md @@ -56,4 +56,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCAssociation.md b/PowerShell/JumpCloud Module/Docs/Remove-JCAssociation.md index ee91ca161..3681d9b44 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCAssociation.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCAssociation.md @@ -14,14 +14,14 @@ Remove an association between two object within the JumpCloud console. ### ById (Default) ``` -Remove-JCAssociation [-Type] [-Force] [-Id] [[-TargetType] ] - [[-TargetId] ] [[-TargetName] ] [] +Remove-JCAssociation [-Type] [-Force] [-Id] + [[-TargetType] ] [[-TargetId] ] [[-TargetName] ] [] ``` ### ByName ``` -Remove-JCAssociation [-Type] [-Force] [-Name] [[-TargetType] ] - [[-TargetId] ] [[-TargetName] ] [] +Remove-JCAssociation [-Type] [-Force] [-Name] + [[-TargetType] ] [[-TargetId] ] [[-TargetName] ] [] ``` ## DESCRIPTION @@ -165,4 +165,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCCommand.md b/PowerShell/JumpCloud Module/Docs/Remove-JCCommand.md index 14e38e78a..eceb4d583 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCCommand.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCCommand.md @@ -89,4 +89,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCCommandResult.md b/PowerShell/JumpCloud Module/Docs/Remove-JCCommandResult.md index 1aeb770ec..a2c697369 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCCommandResult.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCCommandResult.md @@ -19,7 +19,8 @@ Remove-JCCommandResult [-CommandResultID] [] ### force ``` -Remove-JCCommandResult [-CommandResultID] [-force] [] +Remove-JCCommandResult [-CommandResultID] [-force] + [] ``` ## DESCRIPTION @@ -104,4 +105,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCCommandTarget.md b/PowerShell/JumpCloud Module/Docs/Remove-JCCommandTarget.md index b15421c1a..002d2525a 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCCommandTarget.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCCommandTarget.md @@ -14,17 +14,20 @@ Removes the association between a JumpCloud system or a JumpCloud system group f ### SystemID (Default) ``` -Remove-JCCommandTarget [-CommandID] [-SystemID] [] +Remove-JCCommandTarget [-CommandID] [-SystemID] + [] ``` ### GroupID ``` -Remove-JCCommandTarget [-CommandID] [-GroupID] [] +Remove-JCCommandTarget [-CommandID] [-GroupID] + [] ``` ### GroupName ``` -Remove-JCCommandTarget [-CommandID] [-GroupName] [] +Remove-JCCommandTarget [-CommandID] [-GroupName] + [] ``` ## DESCRIPTION @@ -131,4 +134,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCGsuiteMember.md b/PowerShell/JumpCloud Module/Docs/Remove-JCGsuiteMember.md index 075d3a8bb..9668b9daf 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCGsuiteMember.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCGsuiteMember.md @@ -146,4 +146,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCOffice365Member.md b/PowerShell/JumpCloud Module/Docs/Remove-JCOffice365Member.md index 78b3c150e..445c0a539 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCOffice365Member.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCOffice365Member.md @@ -146,4 +146,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCPolicy.md b/PowerShell/JumpCloud Module/Docs/Remove-JCPolicy.md index 75176ed59..59b591320 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCPolicy.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCPolicy.md @@ -99,4 +99,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCRadiusReplyAttribute.md b/PowerShell/JumpCloud Module/Docs/Remove-JCRadiusReplyAttribute.md index 60de0a97b..c9023270d 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCRadiusReplyAttribute.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCRadiusReplyAttribute.md @@ -13,7 +13,8 @@ Removes Radius reply attributes from a JumpCloud user group. ## SYNTAX ``` -Remove-JCRadiusReplyAttribute [-GroupName] [-AttributeName ] [-All] [] +Remove-JCRadiusReplyAttribute [-GroupName] [-AttributeName ] [-All] + [] ``` ## DESCRIPTION @@ -99,4 +100,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCRadiusServer.md b/PowerShell/JumpCloud Module/Docs/Remove-JCRadiusServer.md index 466710e81..58a94b8f7 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCRadiusServer.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCRadiusServer.md @@ -79,4 +79,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCSystem.md b/PowerShell/JumpCloud Module/Docs/Remove-JCSystem.md index 6dbbe46e0..47a098c30 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCSystem.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCSystem.md @@ -112,4 +112,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCSystemGroup.md b/PowerShell/JumpCloud Module/Docs/Remove-JCSystemGroup.md index 28d93edf6..d347555b4 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCSystemGroup.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCSystemGroup.md @@ -99,4 +99,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCSystemGroupMember.md b/PowerShell/JumpCloud Module/Docs/Remove-JCSystemGroupMember.md index a83718cd8..abe996994 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCSystemGroupMember.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCSystemGroupMember.md @@ -14,7 +14,8 @@ Removes a JumpCloud System from a JumpCloud System Group ### ByName (Default) ``` -Remove-JCSystemGroupMember [-GroupName] -SystemID [] +Remove-JCSystemGroupMember [-GroupName] -SystemID + [] ``` ### ByID @@ -142,4 +143,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCSystemUser.md b/PowerShell/JumpCloud Module/Docs/Remove-JCSystemUser.md index c03bc2032..b934d0eee 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCSystemUser.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCSystemUser.md @@ -14,17 +14,20 @@ Disables a JumpCloud User account on a JumpCloud System. ### ByName (Default) ``` -Remove-JCSystemUser [-Username] -SystemID [] +Remove-JCSystemUser [-Username] -SystemID + [] ``` ### Force ``` -Remove-JCSystemUser [-Username] -SystemID [-force] [] +Remove-JCSystemUser [-Username] -SystemID [-force] + [] ``` ### ByID ``` -Remove-JCSystemUser -SystemID -UserID [] +Remove-JCSystemUser -SystemID -UserID + [] ``` ## DESCRIPTION @@ -144,4 +147,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES If a JumpCloud user is removed in error from a system using the Remove-JCSystemUser the error can be quickly remedied by running the Add-JCSystemUser command to re-enable the user. -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCUser.md b/PowerShell/JumpCloud Module/Docs/Remove-JCUser.md index c882cec90..2e52b217b 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCUser.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCUser.md @@ -124,4 +124,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCUserGroup.md b/PowerShell/JumpCloud Module/Docs/Remove-JCUserGroup.md index 482a5af30..040f35ff0 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCUserGroup.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCUserGroup.md @@ -99,4 +99,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Remove-JCUserGroupMember.md b/PowerShell/JumpCloud Module/Docs/Remove-JCUserGroupMember.md index 207547d91..e92b66d2d 100644 --- a/PowerShell/JumpCloud Module/Docs/Remove-JCUserGroupMember.md +++ b/PowerShell/JumpCloud Module/Docs/Remove-JCUserGroupMember.md @@ -14,7 +14,8 @@ Removes a JumpCloud User from a JumpCloud User Group ### ByName (Default) ``` -Remove-JCUserGroupMember [-GroupName] [-Username] [] +Remove-JCUserGroupMember [-GroupName] [-Username] + [] ``` ### ByID @@ -164,4 +165,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Send-JCPasswordReset.md b/PowerShell/JumpCloud Module/Docs/Send-JCPasswordReset.md index db7760de0..e8f731e81 100644 --- a/PowerShell/JumpCloud Module/Docs/Send-JCPasswordReset.md +++ b/PowerShell/JumpCloud Module/Docs/Send-JCPasswordReset.md @@ -102,4 +102,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCCloudDirectory.md b/PowerShell/JumpCloud Module/Docs/Set-JCCloudDirectory.md index d405a22a8..66185baaf 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCCloudDirectory.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCCloudDirectory.md @@ -15,13 +15,15 @@ Updates an existing Cloud Directory instance within a JumpCloud tenant ### ByName ``` Set-JCCloudDirectory [-Name ] [-NewName ] [-GroupsEnabled ] - [-UserLockoutAction ] [-UserPasswordExpirationAction ] [] + [-UserLockoutAction ] [-UserPasswordExpirationAction ] + [] ``` ### ByID ``` Set-JCCloudDirectory [-ID ] [-NewName ] [-GroupsEnabled ] - [-UserLockoutAction ] [-UserPasswordExpirationAction ] [] + [-UserLockoutAction ] [-UserPasswordExpirationAction ] + [] ``` ## DESCRIPTION @@ -162,4 +164,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCCommand.md b/PowerShell/JumpCloud Module/Docs/Set-JCCommand.md index b3b2993d2..a19860ac8 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCCommand.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCCommand.md @@ -147,4 +147,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCOrganization.md b/PowerShell/JumpCloud Module/Docs/Set-JCOrganization.md index a1e25fcc6..151561fb4 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCOrganization.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCOrganization.md @@ -13,7 +13,8 @@ Allows a multi tenant admin to update their connection to a specific JumpCloud o ## SYNTAX ``` -Set-JCOrganization [[-JumpCloudApiKey] ] [[-JumpCloudOrgId] ] [] +Set-JCOrganization [[-JumpCloudApiKey] ] [[-JumpCloudOrgId] ] + [] ``` ## DESCRIPTION @@ -89,4 +90,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCPolicy.md b/PowerShell/JumpCloud Module/Docs/Set-JCPolicy.md index 7a8c1f1d9..04e3b146d 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCPolicy.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCPolicy.md @@ -19,12 +19,14 @@ Set-JCPolicy can display the available parameters per policy if a `PolicyName` o ### ByID (Default) ``` -Set-JCPolicy -PolicyID [-NewName ] [-Values ] [] +Set-JCPolicy -PolicyID [-NewName ] [-Values ] + [] ``` ### ByName ``` -Set-JCPolicy -PolicyName [-NewName ] [-Values ] [] +Set-JCPolicy -PolicyName [-NewName ] [-Values ] + [] ``` ## DESCRIPTION @@ -166,4 +168,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCRadiusReplyAttribute.md b/PowerShell/JumpCloud Module/Docs/Set-JCRadiusReplyAttribute.md index 3ef5dbffd..091619853 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCRadiusReplyAttribute.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCRadiusReplyAttribute.md @@ -14,8 +14,8 @@ Updates or adds Radius reply attributes to a JumpCloud user group. ``` Set-JCRadiusReplyAttribute [-GroupName] [-VLAN ] [-NumberOfAttributes ] - -Attribute1_name -Attribute1_value -Attribute2_name -Attribute2_value - [-VLANTag ] [] + -Attribute1_name -Attribute1_value + -Attribute2_name -Attribute2_value [-VLANTag ] [] ``` ## DESCRIPTION @@ -236,4 +236,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCRadiusServer.md b/PowerShell/JumpCloud Module/Docs/Set-JCRadiusServer.md index 6522b726c..d6984dd40 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCRadiusServer.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCRadiusServer.md @@ -14,23 +14,23 @@ Updates a JumpCloud radius server. ### ById (Default) ``` -Set-JCRadiusServer [-Force] [-Id] [[-newName] ] [[-networkSourceIp] ] - [[-sharedSecret] ] [[-mfa] ] [[-userLockoutAction] ] +Set-JCRadiusServer [-Force] [-Id] [[-newName] ] + [[-networkSourceIp] ] [[-sharedSecret] ] [[-mfa] ] [[-userLockoutAction] ] [[-userPasswordExpirationAction] ] [] ``` ### ByName ``` -Set-JCRadiusServer [-Force] [-Name] [[-newName] ] [[-networkSourceIp] ] - [[-sharedSecret] ] [[-mfa] ] [[-userLockoutAction] ] +Set-JCRadiusServer [-Force] [-Name] [[-newName] ] + [[-networkSourceIp] ] [[-sharedSecret] ] [[-mfa] ] [[-userLockoutAction] ] [[-userPasswordExpirationAction] ] [] ``` ### ByValue ``` -Set-JCRadiusServer [-Force] [[-newName] ] [[-networkSourceIp] ] [[-sharedSecret] ] - [[-mfa] ] [[-userLockoutAction] ] [[-userPasswordExpirationAction] ] - [] +Set-JCRadiusServer [-Force] [[-newName] ] + [[-networkSourceIp] ] [[-sharedSecret] ] [[-mfa] ] [[-userLockoutAction] ] + [[-userPasswordExpirationAction] ] [] ``` ## DESCRIPTION @@ -212,4 +212,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCSettingsFile.md b/PowerShell/JumpCloud Module/Docs/Set-JCSettingsFile.md index acec2d831..7f6b8fb85 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCSettingsFile.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCSettingsFile.md @@ -14,7 +14,8 @@ Updates the JumpCloud Module Settings File ## SYNTAX ``` -Set-JCSettingsFile [-moduleBannerMessageCount ] [-parallelOverride ] [] +Set-JCSettingsFile [-moduleBannerMessageCount ] + [-parallelOverride ] [] ``` ## DESCRIPTION @@ -76,4 +77,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCSystem.md b/PowerShell/JumpCloud Module/Docs/Set-JCSystem.md index fbd404b50..52c1cb175 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCSystem.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCSystem.md @@ -180,4 +180,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCSystemUser.md b/PowerShell/JumpCloud Module/Docs/Set-JCSystemUser.md index 0d4133e00..50bfb9c3b 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCSystemUser.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCSystemUser.md @@ -14,12 +14,14 @@ Updates the permissions of a JumpCloud user on a JumpCloud system ### ByName (Default) ``` -Set-JCSystemUser [-Username] -SystemID -Administrator [] +Set-JCSystemUser [-Username] -SystemID -Administrator + [] ``` ### ByID ``` -Set-JCSystemUser -UserID -SystemID -Administrator [] +Set-JCSystemUser -UserID -SystemID -Administrator + [] ``` ## DESCRIPTION @@ -122,4 +124,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCUser.md b/PowerShell/JumpCloud Module/Docs/Set-JCUser.md index 600f39da1..625064836 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCUser.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCUser.md @@ -27,8 +27,9 @@ Set-JCUser [-Username] [-email ] [-firstname ] [-lastna [-home_country ] [-mobile_number ] [-home_number ] [-work_number ] [-work_mobile_number ] [-work_fax_number ] [-external_dn ] [-external_source_type ] [-state ] [-manager ] [-managedAppleId ] - [-alternateEmail ] [-recoveryEmail ] [-EnrollmentDays ] -Attribute1_name - -Attribute1_value -Attribute2_name -Attribute2_value [] + [-alternateEmail ] [-recoveryEmail ] + [-EnrollmentDays ] -Attribute1_name -Attribute1_value -Attribute2_name + -Attribute2_value [] ``` ### RemoveAttribute @@ -46,8 +47,9 @@ Set-JCUser [-Username] [-email ] [-firstname ] [-lastna [-home_postalCode ] [-home_country ] [-mobile_number ] [-home_number ] [-work_number ] [-work_mobile_number ] [-work_fax_number ] [-external_dn ] [-external_source_type ] [-state ] [-manager ] [-managedAppleId ] - [-alternateEmail ] [-recoveryEmail ] [-EnrollmentDays ] -Attribute1_name - -Attribute1_value -Attribute2_name -Attribute2_value [] + [-alternateEmail ] [-recoveryEmail ] + [-EnrollmentDays ] -Attribute1_name -Attribute1_value -Attribute2_name + -Attribute2_value [] ``` ### ByID @@ -65,8 +67,9 @@ Set-JCUser -UserID [-email ] [-firstname ] [-lastname < [-home_country ] [-mobile_number ] [-home_number ] [-work_number ] [-work_mobile_number ] [-work_fax_number ] [-external_dn ] [-external_source_type ] [-state ] [-manager ] [-managedAppleId ] - [-alternateEmail ] [-recoveryEmail ] [-EnrollmentDays ] -Attribute1_name - -Attribute1_value -Attribute2_name -Attribute2_value [] + [-alternateEmail ] [-recoveryEmail ] + [-EnrollmentDays ] -Attribute1_name -Attribute1_value -Attribute2_name + -Attribute2_value [] ``` ## DESCRIPTION @@ -1067,4 +1070,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Set-JCUserGroupLDAP.md b/PowerShell/JumpCloud Module/Docs/Set-JCUserGroupLDAP.md index af5e70e95..3bba1b52f 100644 --- a/PowerShell/JumpCloud Module/Docs/Set-JCUserGroupLDAP.md +++ b/PowerShell/JumpCloud Module/Docs/Set-JCUserGroupLDAP.md @@ -14,12 +14,14 @@ The Set-JCUserGroupLDAP command adds or removes a JumpCloud user group and the m ### GroupName (Default) ``` -Set-JCUserGroupLDAP [-GroupName] -LDAPEnabled [] +Set-JCUserGroupLDAP [-GroupName] -LDAPEnabled + [] ``` ### GroupID ``` -Set-JCUserGroupLDAP [-GroupID] -LDAPEnabled [] +Set-JCUserGroupLDAP [-GroupID] -LDAPEnabled + [] ``` ## DESCRIPTION @@ -108,4 +110,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Update-JCMSPFromCSV.md b/PowerShell/JumpCloud Module/Docs/Update-JCMSPFromCSV.md index 4af55e9e9..95d1d0dfa 100644 --- a/PowerShell/JumpCloud Module/Docs/Update-JCMSPFromCSV.md +++ b/PowerShell/JumpCloud Module/Docs/Update-JCMSPFromCSV.md @@ -20,7 +20,8 @@ Update-JCMSPFromCSV [-CSVFilePath] [] ### force ``` -Update-JCMSPFromCSV [-CSVFilePath] [-force] [-ProviderID ] [] +Update-JCMSPFromCSV [-CSVFilePath] [-force] [-ProviderID ] + [] ``` ## DESCRIPTION @@ -111,4 +112,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Update-JCModule.md b/PowerShell/JumpCloud Module/Docs/Update-JCModule.md index b09ca344a..11210de7a 100644 --- a/PowerShell/JumpCloud Module/Docs/Update-JCModule.md +++ b/PowerShell/JumpCloud Module/Docs/Update-JCModule.md @@ -71,4 +71,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Boolean ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/Docs/Update-JCUsersFromCSV.md b/PowerShell/JumpCloud Module/Docs/Update-JCUsersFromCSV.md index fb05d7326..56078bdc6 100644 --- a/PowerShell/JumpCloud Module/Docs/Update-JCUsersFromCSV.md +++ b/PowerShell/JumpCloud Module/Docs/Update-JCUsersFromCSV.md @@ -19,7 +19,8 @@ Update-JCUsersFromCSV [-CSVFilePath] [] ### force ``` -Update-JCUsersFromCSV [-CSVFilePath] [-force] [] +Update-JCUsersFromCSV [-CSVFilePath] [-force] + [] ``` ## DESCRIPTION @@ -91,4 +92,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ### System.Object ## NOTES -## RELATED LINKS +## RELATED LINKS diff --git a/PowerShell/JumpCloud Module/JumpCloud.psd1 b/PowerShell/JumpCloud Module/JumpCloud.psd1 index 588ba1f66..2ebf1b9ad 100644 --- a/PowerShell/JumpCloud Module/JumpCloud.psd1 +++ b/PowerShell/JumpCloud Module/JumpCloud.psd1 @@ -3,160 +3,161 @@ # # Generated by: JumpCloud Solutions Architect Team # -# Generated on: 6/18/2024 +# Generated on: 8/8/2024 # @{ - # Script module or binary module file associated with this manifest. - RootModule = 'JumpCloud.psm1' - - # Version number of this module. - ModuleVersion = '2.12.0' +# Script module or binary module file associated with this manifest. +RootModule = 'JumpCloud.psm1' + +# Version number of this module. +ModuleVersion = '2.13.0' - # Supported PSEditions - # CompatiblePSEditions = @() +# Supported PSEditions +# CompatiblePSEditions = @() - # ID used to uniquely identify this module - GUID = '31c023d1-a901-48c4-90a3-082f91b31646' +# ID used to uniquely identify this module +GUID = '31c023d1-a901-48c4-90a3-082f91b31646' - # Author of this module - Author = 'JumpCloud Solutions Architect Team' +# Author of this module +Author = 'JumpCloud Solutions Architect Team' - # Company or vendor of this module - CompanyName = 'JumpCloud' +# Company or vendor of this module +CompanyName = 'JumpCloud' - # Copyright statement for this module - Copyright = '(c) JumpCloud. All rights reserved.' +# Copyright statement for this module +Copyright = '(c) JumpCloud. All rights reserved.' - # Description of the functionality provided by this module - Description = 'PowerShell functions to manage a JumpCloud Directory-as-a-Service' +# Description of the functionality provided by this module +Description = 'PowerShell functions to manage a JumpCloud Directory-as-a-Service' - # Minimum version of the PowerShell engine required by this module - PowerShellVersion = '4.0' +# Minimum version of the PowerShell engine required by this module +PowerShellVersion = '4.0' - # Name of the PowerShell host required by this module - # PowerShellHostName = '' +# Name of the PowerShell host required by this module +# PowerShellHostName = '' - # Minimum version of the PowerShell host required by this module - # PowerShellHostVersion = '' +# Minimum version of the PowerShell host required by this module +# PowerShellHostVersion = '' - # Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. - # DotNetFrameworkVersion = '' +# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. +# DotNetFrameworkVersion = '' - # Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. - # ClrVersion = '' +# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. +# ClrVersion = '' - # Processor architecture (None, X86, Amd64) required by this module - # ProcessorArchitecture = '' +# Processor architecture (None, X86, Amd64) required by this module +# ProcessorArchitecture = '' - # Modules that must be imported into the global environment prior to importing this module - RequiredModules = @('JumpCloud.SDK.DirectoryInsights', - 'JumpCloud.SDK.V1', - 'JumpCloud.SDK.V2') +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @('JumpCloud.SDK.DirectoryInsights', + 'JumpCloud.SDK.V1', + 'JumpCloud.SDK.V2') - # Assemblies that must be loaded prior to importing this module - # RequiredAssemblies = @() +# Assemblies that must be loaded prior to importing this module +# RequiredAssemblies = @() - # Script files (.ps1) that are run in the caller's environment prior to importing this module. - # ScriptsToProcess = @() +# Script files (.ps1) that are run in the caller's environment prior to importing this module. +# ScriptsToProcess = @() - # Type files (.ps1xml) to be loaded when importing this module - # TypesToProcess = @() +# Type files (.ps1xml) to be loaded when importing this module +# TypesToProcess = @() - # Format files (.ps1xml) to be loaded when importing this module - # FormatsToProcess = @() +# Format files (.ps1xml) to be loaded when importing this module +# FormatsToProcess = @() - # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess - # NestedModules = @() +# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess +# NestedModules = @() - # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. - FunctionsToExport = 'Add-JCAssociation', 'Add-JCCommandTarget', 'Add-JCGsuiteMember', - 'Add-JCOffice365Member', 'Add-JCRadiusReplyAttribute', - 'Add-JCSystemGroupMember', 'Add-JCSystemUser', - 'Add-JCUserGroupMember', 'Backup-JCOrganization', 'Connect-JCOnline', - 'Copy-JCAssociation', 'Get-JCAssociation', 'Get-JCBackup', - 'Get-JCCloudDirectory', 'Get-JCCommand', 'Get-JCCommandResult', - 'Get-JCCommandTarget', 'Get-JCEvent', 'Get-JCEventCount', 'Get-JCGroup', - 'Get-JCOrganization', 'Get-JCPolicy', 'Get-JCPolicyResult', - 'Get-JCPolicyTargetGroup', 'Get-JCPolicyTargetSystem', - 'Get-JCRadiusReplyAttribute', 'Get-JCRadiusServer', - 'Get-JCScheduledUserstate', 'Get-JCSystem', 'Get-JCSystemApp', - 'Get-JCSystemGroupMember', 'Get-JCSystemInsights', 'Get-JCSystemUser', - 'Get-JCUser', 'Get-JCUserGroupMember', 'Import-JCCommand', - 'Import-JCMSPFromCSV', 'Import-JCUsersFromCSV', 'Invoke-JCCommand', - 'Invoke-JCDeployment', 'New-JCCommand', 'New-JCDeploymentTemplate', - 'New-JCImportTemplate', 'New-JCMSPImportTemplate', 'New-JCPolicy', - 'New-JCRadiusServer', 'New-JCSystemGroup', 'New-JCUser', - 'New-JCUserGroup', 'Remove-JCAssociation', 'Remove-JCCommand', - 'Remove-JCCommandResult', 'Remove-JCCommandTarget', - 'Remove-JCGsuiteMember', 'Remove-JCOffice365Member', - 'Remove-JCPolicy', 'Remove-JCRadiusReplyAttribute', - 'Remove-JCRadiusServer', 'Remove-JCSystem', 'Remove-JCSystemGroup', - 'Remove-JCSystemGroupMember', 'Remove-JCSystemUser', 'Remove-JCUser', - 'Remove-JCUserGroup', 'Remove-JCUserGroupMember', - 'Send-JCPasswordReset', 'Set-JCCloudDirectory', 'Set-JCCommand', - 'Set-JCOrganization', 'Set-JCPolicy', 'Set-JCRadiusReplyAttribute', - 'Set-JCRadiusServer', 'Set-JCSettingsFile', 'Set-JCSystem', - 'Set-JCSystemUser', 'Set-JCUser', 'Set-JCUserGroupLDAP', - 'Update-JCModule', 'Update-JCMSPFromCSV', 'Update-JCUsersFromCSV' +# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. +FunctionsToExport = 'Add-JCAssociation', 'Add-JCCommandTarget', 'Add-JCGsuiteMember', + 'Add-JCOffice365Member', 'Add-JCRadiusReplyAttribute', + 'Add-JCSystemGroupMember', 'Add-JCSystemUser', + 'Add-JCUserGroupMember', 'Backup-JCOrganization', 'Connect-JCOnline', + 'Copy-JCAssociation', 'Get-JCAdmin', 'Get-JCAssociation', + 'Get-JCBackup', 'Get-JCCloudDirectory', 'Get-JCCommand', + 'Get-JCCommandResult', 'Get-JCCommandTarget', 'Get-JCEvent', + 'Get-JCEventCount', 'Get-JCGroup', 'Get-JCOrganization', 'Get-JCPolicy', + 'Get-JCPolicyResult', 'Get-JCPolicyTargetGroup', + 'Get-JCPolicyTargetSystem', 'Get-JCRadiusReplyAttribute', + 'Get-JCRadiusServer', 'Get-JCScheduledUserstate', 'Get-JCSystem', + 'Get-JCSystemApp', 'Get-JCSystemGroupMember', 'Get-JCSystemInsights', + 'Get-JCSystemUser', 'Get-JCUser', 'Get-JCUserGroupMember', + 'Import-JCCommand', 'Import-JCMSPFromCSV', 'Import-JCUsersFromCSV', + 'Invoke-JCCommand', 'Invoke-JCDeployment', 'New-JCCommand', + 'New-JCDeploymentTemplate', 'New-JCImportTemplate', + 'New-JCMSPImportTemplate', 'New-JCPolicy', 'New-JCRadiusServer', + 'New-JCSystemGroup', 'New-JCUser', 'New-JCUserGroup', + 'Remove-JCAssociation', 'Remove-JCCommand', 'Remove-JCCommandResult', + 'Remove-JCCommandTarget', 'Remove-JCGsuiteMember', + 'Remove-JCOffice365Member', 'Remove-JCPolicy', + 'Remove-JCRadiusReplyAttribute', 'Remove-JCRadiusServer', + 'Remove-JCSystem', 'Remove-JCSystemGroup', + 'Remove-JCSystemGroupMember', 'Remove-JCSystemUser', 'Remove-JCUser', + 'Remove-JCUserGroup', 'Remove-JCUserGroupMember', + 'Send-JCPasswordReset', 'Set-JCCloudDirectory', 'Set-JCCommand', + 'Set-JCOrganization', 'Set-JCPolicy', 'Set-JCRadiusReplyAttribute', + 'Set-JCRadiusServer', 'Set-JCSettingsFile', 'Set-JCSystem', + 'Set-JCSystemUser', 'Set-JCUser', 'Set-JCUserGroupLDAP', + 'Update-JCModule', 'Update-JCMSPFromCSV', 'Update-JCUsersFromCSV' - # Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. - CmdletsToExport = @() +# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. +CmdletsToExport = @() - # Variables to export from this module - VariablesToExport = '*' +# Variables to export from this module +VariablesToExport = '*' - # Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. - AliasesToExport = 'New-JCAssociation' +# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. +AliasesToExport = 'New-JCAssociation' - # DSC resources to export from this module - # DscResourcesToExport = @() +# DSC resources to export from this module +# DscResourcesToExport = @() - # List of all modules packaged with this module - # ModuleList = @() +# List of all modules packaged with this module +# ModuleList = @() - # List of all files packaged with this module - # FileList = @() +# List of all files packaged with this module +# FileList = @() - # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. - PrivateData = @{ +# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. +PrivateData = @{ - PSData = @{ + PSData = @{ - # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'JumpCloud', 'DaaS', 'Jump', 'Cloud', 'Directory' + # Tags applied to this module. These help with module discovery in online galleries. + Tags = 'JumpCloud', 'DaaS', 'Jump', 'Cloud', 'Directory' - # A URL to the license for this module. - LicenseUri = 'https://github.com/TheJumpCloud/support/blob/master/PowerShell/LICENSE' + # A URL to the license for this module. + LicenseUri = 'https://github.com/TheJumpCloud/support/blob/master/PowerShell/LICENSE' - # A URL to the main website for this project. - ProjectUri = 'https://github.com/TheJumpCloud/support/wiki' + # A URL to the main website for this project. + ProjectUri = 'https://github.com/TheJumpCloud/support/wiki' - # A URL to an icon representing this module. - IconUri = 'https://avatars1.githubusercontent.com/u/4927461?s=200&v=4' + # A URL to an icon representing this module. + IconUri = 'https://avatars1.githubusercontent.com/u/4927461?s=200&v=4' - # ReleaseNotes of this module - ReleaseNotes = 'https://git.io/jc-pwsh-releasenotes' + # ReleaseNotes of this module + ReleaseNotes = 'https://git.io/jc-pwsh-releasenotes' - # Prerelease string of this module - # Prerelease = '' + # Prerelease string of this module + # Prerelease = '' - # Flag to indicate whether the module requires explicit user acceptance for install/update/save - # RequireLicenseAcceptance = $false + # Flag to indicate whether the module requires explicit user acceptance for install/update/save + # RequireLicenseAcceptance = $false - # External dependent modules of this module - # ExternalModuleDependencies = @() + # External dependent modules of this module + # ExternalModuleDependencies = @() - } # End of PSData hashtable + } # End of PSData hashtable + +} # End of PrivateData hashtable - } # End of PrivateData hashtable +# HelpInfo URI of this module +HelpInfoURI = 'https://github.com/TheJumpCloud/support/wiki' - # HelpInfo URI of this module - HelpInfoURI = 'https://github.com/TheJumpCloud/support/wiki' - - # Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. - # DefaultCommandPrefix = '' +# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. +# DefaultCommandPrefix = '' } diff --git a/PowerShell/JumpCloud Module/Public/Administrators/Get-JCAdmin.ps1 b/PowerShell/JumpCloud Module/Public/Administrators/Get-JCAdmin.ps1 new file mode 100644 index 000000000..202726098 --- /dev/null +++ b/PowerShell/JumpCloud Module/Public/Administrators/Get-JCAdmin.ps1 @@ -0,0 +1,104 @@ +function Get-JCAdmin { + param ( + [Parameter(ValueFromPipelineByPropertyName, Position = 0, HelpMessage = 'The email of the JumpCloud admin you wish to search for.')] + [String]$email, + [Parameter(ValueFromPipelineByPropertyName, Position = 1, HelpMessage = 'A search filter to search for admins with multifactor enabled/disabled.')] + [Boolean]$enableMultifactor, + [Parameter(ValueFromPipelineByPropertyName, Position = 2, HelpMessage = 'A search filter to search for admins with totp enabled/disabled.')] + [Boolean]$totpEnrolled, + [Parameter(ValueFromPipelineByPropertyName, Position = 3, HelpMessage = 'A search filter to search for admins based on their role')] + [ValidateSet('Administrator With Billing', 'Administrator', 'Manager', 'Command Runner With Billing', 'Command Runner', 'Help Desk', 'Billing Only', 'Read Only')] + [String]$roleName, + [Parameter(ValueFromPipelineByPropertyName, Position = 4, HelpMessage = 'A search filter to search for admins based on their organization (Only for MTP/MSP tenants)')] + [Alias("organizationID")] + [String]$organization + ) + begin { + Write-Verbose 'Verifying JCAPI Key' + if ($JCAPIKEY.length -ne 40) { + Connect-JCOnline + } + + # Get all JC Orgs + $JCOrgs = Get-JCOrganization + + # Check to see if there is more than 1 org returned, if so - set the MTP flag to true + if ($JCOrgs.Count -gt 1) { + $MTP = $true + + $headers = @{} + $headers.Add("x-api-key", $JCAPIKEY) + } else { + $MTP = $false + } + + $resultsArrayList = @() + } + process { + [int]$limit = '100' + Write-Verbose "Setting limit to $limit" + + [int]$skip = '0' + Write-Verbose "Setting limit to $limit" + + $URL = "$JCUrlBasePath/api/users" + Write-Verbose $URL + + if ($MTP) { + # Iterate through all MTP orgs and get all admins + $JCOrgs | ForEach-Object { + if ($headers.keys -contains 'x-org-id') { + $headers.Remove("x-org-id") + } + $orgId = $_.orgId + $headers.Add("x-org-id", $orgId) + + $response = Invoke-RestMethod -Uri 'https://console.jumpcloud.com/api/users' -Method GET -Headers $headers + + # For some reason an admin's organization is not set, manually set + $response.results | ForEach-Object { + $_.organization = $orgId + } + + $resultsArrayList += $response.results + } + } else { + # Not MTP, just get admins in org + $results = Get-JCResults -URL $URL -method "GET" -limit $limit + $resultsArrayList += $results + } + + # Create a FilterScript scriptblock for use in Where-Object to filter the results based on the params used + $filterScriptArray = @() + foreach ($param in $PSBoundParameters.GetEnumerator()) { + if ([System.Management.Automation.PSCmdlet]::CommonParameters -contains $param.key) { + continue + } + if ($param.value -is [Boolean]) { + $filterScriptArray += "`$_.$($param.key) -eq `$$($param.value)" + continue + } + if ($param.value -is [String]) { + if ($param.Key -eq 'organizationID') { + $filterScriptArray += "`$_.organization -like '$($param.value)'" + continue + } else { + $filterScriptArray += "`$_.$($param.key) -like '$($param.value)'" + continue + } + } + } + $filterScriptString = $filterScriptArray -join " -and " + $filterScript = [Scriptblock]::Create($filterScriptString) + + # Check to see if any filters were set, if not - do not use where-object + if (!$filterScriptArray) { + $admins = $resultsArrayList | Select-Object apiKeyUpdatedAt, created, email, enableMultiFactor, firstname, lastname, organization, roleName, suspended, totpEnrolled, totpUpdatedAt + } else { + $admins = $resultsArrayList | Where-Object -FilterScript $filterScript | Select-Object apiKeyUpdatedAt, created, email, enableMultiFactor, firstname, lastname, organization, roleName, suspended, totpEnrolled, totpUpdatedAt + } + } + end { + return $admins + } +} \ No newline at end of file diff --git a/PowerShell/JumpCloud Module/Tests/ModuleValidation/HelpFiles.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/ModuleValidation/HelpFiles.Tests.ps1 index ae01c2070..be7e5bc6e 100755 --- a/PowerShell/JumpCloud Module/Tests/ModuleValidation/HelpFiles.Tests.ps1 +++ b/PowerShell/JumpCloud Module/Tests/ModuleValidation/HelpFiles.Tests.ps1 @@ -23,4 +23,31 @@ Describe -Tag:('ModuleValidation') 'Help File Tests' { } } } + + Context ('Validating that HelpFiles are up to date') { + It 'Check to see if there is a git diff for HelpFiles' { + $BuildHelpFilesLocation = "$PSScriptRoot/../../../Deploy/Build-HelpFiles.ps1" + $ModulePathLocation = "$PSScriptRoot/../../../JumpCloud Module" + # run the Build-HelpFiles function to generate new docs: + Start-Job -Name BuildHelpFiles -ScriptBlock { . $using:BuildHelpFilesLocation -ModuleName "JumpCloud" -ModulePath $using:ModulePathLocation } + Wait-Job -Name BuildHelpFiles + # validate that there's no changes to git diff + + $ModuleRoot = (Get-Item -Path:($PSScriptRoot)).Parent.Parent + $ModuleRootFullName = $ModuleRoot.FullName + $HelpFilePopulation = Get-ChildItem -Path:($ModuleRootFullName + '/Docs/*.md') -Recurse + + $HelpFilePopulation | ForEach-Object { + # File should exist + Test-Path -Path $_.FullName | Should -Be $true + + # Git Diff for the file should not exist + $diff = git diff -- $_.FullName + if ($diff) { + Write-Warning "Diff found in the file $($_.FullName) when we expected none to exist; Please run Build-HelpFiles and commit the results" + } + $diff | Should -BeNullOrEmpty + } + } + } } \ No newline at end of file diff --git a/PowerShell/JumpCloud Module/Tests/ModuleValidation/ReturnProperties.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/ModuleValidation/ReturnProperties.Tests.ps1 index 81d6e0539..cfdf9b59b 100644 --- a/PowerShell/JumpCloud Module/Tests/ModuleValidation/ReturnProperties.Tests.ps1 +++ b/PowerShell/JumpCloud Module/Tests/ModuleValidation/ReturnProperties.Tests.ps1 @@ -1,5 +1,6 @@ Describe -Tag:('ModuleValidation') 'Return Properties Checks' { It 'Validates that functions with "Return Properties" return up-to-date fields' { + Import-Module powershell-yaml -force $validFunction = @('Get-JCSystem', 'Get-JCUser', 'Get-JCCommand') $functionHash = @{ 'Get-JCSystem' = @{ diff --git a/PowerShell/JumpCloud Module/Tests/Public/Administrators/Get-JCAdmin-MSP.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/Public/Administrators/Get-JCAdmin-MSP.Tests.ps1 new file mode 100644 index 000000000..9a61893e0 --- /dev/null +++ b/PowerShell/JumpCloud Module/Tests/Public/Administrators/Get-JCAdmin-MSP.Tests.ps1 @@ -0,0 +1,45 @@ +Describe -Tag:('MSP') 'Get-JCAdmin Tests' { + BeforeAll { + $StartingApiKey = If (-not [System.String]::IsNullOrEmpty($env:JCApiKey)) { + $env:JCApiKey + } + $StartingOrgId = If (-not [System.String]::IsNullOrEmpty($env:JCOrgId)) { + $env:JCOrgId + } + $orgs = Get-JCOrganization + } + Context 'Get-JCAdmin Tests' { + It ('Get all administrators') { + $Admins = Get-JCAdmin + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get a specific administrator by email address') { + $Admins = Get-JCAdmin -email 'solutions-architecture+pestermtp@jumpcloud.com' + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get a specific administrator by email address with wildcard') { + $Admins = Get-JCAdmin -email 'solutions-architecture*' + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by enableMultifactor') { + $Admins = Get-JCAdmin -enableMultifactor $true + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by totpEnrolled') { + $Admins = Get-JCAdmin -totpEnrolled $true + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by roleName') { + $Admins = Get-JCAdmin -roleName 'Administrator With Billing' + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by organization') { + $Admins = Get-JCAdmin -organization $orgs[0].OrgID + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by email, enableMultifactor, totpEnrolled, roleName and organization') { + $Admins = Get-JCAdmin -email 'solutions-architecture*' -enableMultifactor $true -totpEnrolled $true -roleName 'Administrator With Billing' -organization $orgs[0].OrgID + $Admins | Should -Not -BeNullOrEmpty + } + } +} \ No newline at end of file diff --git a/PowerShell/JumpCloud Module/Tests/Public/Administrators/Get-JCAdmin.Tests.ps1 b/PowerShell/JumpCloud Module/Tests/Public/Administrators/Get-JCAdmin.Tests.ps1 new file mode 100644 index 000000000..87e53fd4b --- /dev/null +++ b/PowerShell/JumpCloud Module/Tests/Public/Administrators/Get-JCAdmin.Tests.ps1 @@ -0,0 +1,28 @@ +Describe -Tag:('JCAdmin') 'Get-JCAdmin Tests' { + Context 'Get-JCAdmin Tests' { + It ('Get all administrators') { + $Admins = Get-JCAdmin + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get a specific administrator by email address with wildcard') { + $Admins = Get-JCAdmin -email 'solutions-architecture*' + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by enableMultifactor') { + $Admins = Get-JCAdmin -enableMultifactor $false + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by totpEnrolled') { + $Admins = Get-JCAdmin -totpEnrolled $true + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by roleName') { + $Admins = Get-JCAdmin -roleName 'Administrator With Billing' + $Admins | Should -Not -BeNullOrEmpty + } + It ('Get administrators by email, enableMultifactor, totpEnrolled, roleName') { + $Admins = Get-JCAdmin -email 'solutions-architecture*' -enableMultifactor $false -totpEnrolled $true -roleName 'Administrator' + $Admins | Should -Not -BeNullOrEmpty + } + } +} \ No newline at end of file diff --git a/PowerShell/JumpCloud Module/en-Us/JumpCloud-help.xml b/PowerShell/JumpCloud Module/en-Us/JumpCloud-help.xml index 3b2c4796d..473791dda 100644 --- a/PowerShell/JumpCloud Module/en-Us/JumpCloud-help.xml +++ b/PowerShell/JumpCloud Module/en-Us/JumpCloud-help.xml @@ -1,4 +1,4 @@ - + @@ -124,6 +124,7 @@ False + Add-JCAssociation @@ -236,6 +237,7 @@ False + @@ -287,6 +289,7 @@ None + TargetId @@ -447,6 +450,7 @@ None + Add-JCCommandTarget @@ -474,6 +478,7 @@ None + Add-JCCommandTarget @@ -501,6 +506,7 @@ None + @@ -540,6 +546,7 @@ None + SystemID @@ -667,6 +674,7 @@ None + UserID @@ -730,6 +738,7 @@ None + UserID @@ -805,6 +814,7 @@ None + UserID @@ -929,6 +939,7 @@ None + UserID @@ -992,6 +1003,7 @@ None + UserID @@ -1067,6 +1079,7 @@ None + UserID @@ -1227,6 +1240,7 @@ None + VLAN @@ -1365,6 +1379,7 @@ None + VLAN @@ -1516,6 +1531,7 @@ None + SystemID @@ -1547,6 +1563,7 @@ None + SystemID @@ -1602,6 +1619,7 @@ None + SystemID @@ -1708,6 +1726,7 @@ None + SystemID @@ -1767,6 +1786,7 @@ None + SystemID @@ -1798,6 +1818,7 @@ None + SystemID @@ -1957,6 +1978,7 @@ None + UserID @@ -2000,6 +2022,7 @@ None + @@ -2040,6 +2063,7 @@ None + UserID @@ -2192,6 +2216,7 @@ None + Backup-JCOrganization @@ -2241,6 +2266,7 @@ None + Type @@ -2316,6 +2342,7 @@ None + Type @@ -2465,6 +2492,7 @@ PS C:\> $BackupJcOrganizationResults.User False + @@ -2516,6 +2544,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -2721,6 +2750,7 @@ PS C:\> $BackupJcOrganizationResults.User False + Copy-JCAssociation @@ -2857,6 +2887,7 @@ PS C:\> $BackupJcOrganizationResults.User False + @@ -2920,6 +2951,7 @@ PS C:\> $BackupJcOrganizationResults.User None + RemoveExisting @@ -3033,6 +3065,255 @@ PS C:\> $BackupJcOrganizationResults.User + + + Get-JCAdmin + Get + JCAdmin + + Gets JumpCloud administrators in your organization + + + + Allows you to search for JumpCloud administrators in your organization. If you have a MSP/MTP tenant, you can query all administrators across all organizations + + + + Get-JCAdmin + + email + + The email of the JumpCloud admin you wish to search for. + + System.String + + System.String + + + None + + + enableMultifactor + + A search filter to search for admins with multifactor enabled/disabled. + + System.Boolean + + System.Boolean + + + None + + + totpEnrolled + + A search filter to search for admins with totp enabled/disabled. + + System.Boolean + + System.Boolean + + + None + + + roleName + + A search filter to search for admins based on their role + + + Administrator With Billing + Administrator + Manager + Command Runner With Billing + Command Runner + Help Desk + Billing Only + Read Only + + System.String + + System.String + + + None + + + organization + + A search filter to search for admins based on their organization (Only for MTP/MSP tenants) + + System.String + + System.String + + + None + + + + + + + email + + The email of the JumpCloud admin you wish to search for. + + System.String + + System.String + + + None + + + enableMultifactor + + A search filter to search for admins with multifactor enabled/disabled. + + System.Boolean + + System.Boolean + + + None + + + organization + + A search filter to search for admins based on their organization (Only for MTP/MSP tenants) + + System.String + + System.String + + + None + + + + roleName + + A search filter to search for admins based on their role + + System.String + + System.String + + + None + + + totpEnrolled + + A search filter to search for admins with totp enabled/disabled. + + System.Boolean + + System.Boolean + + + None + + + + + + System.String + + + + + + + + System.Boolean + + + + + + + + + + System.Object + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + PS C:\> Get-JCAdmin + + Returns all administrators + + + + -------------------------- Example 2 -------------------------- + PS C:\> Get-JCAdmin -email "john.doe@example.com" + + Returns a specific administrator using their email address + + + + -------------------------- Example 3 -------------------------- + PS C:\> Get-JCAdmin -email "john*" + + Returns all administrators that contains john in their email address + + + + -------------------------- Example 4 -------------------------- + PS C:\> Get-JCAdmin -enableMultifactor $true + + Returns all administrators that have multifactor enabled + + + + -------------------------- Example 5 -------------------------- + PS C:\> Get-JCAdmin -totpEnrolled $true + + Returns all administrators that have totp enabled/enrolled + + + + -------------------------- Example 6 -------------------------- + PS C:\> Get-JCAdmin -roleName "Administrator With Billing" + + Returns all administrators that have the Administrator With Billing role + + + + -------------------------- Example 7 -------------------------- + PS C:\> Get-JCAdmin -email "john*" -enableMultiFactor $true -roleName "Administrator With Billing" + + Returns all administrators that contains john in their email address, have mutlifactor enabled and have the Administrator With Billing role + + + + -------------------------- Example 8 -------------------------- + PS C:\> Get-JCAdmin -organization "organizationID" + + Returns all administrators that are within a specific organization (this can only be utilized by MTP/MSP tenants) + + + + + + Online Version: + https://github.com/TheJumpCloud/support/wiki/ + + + Get-JCAssociation @@ -3228,6 +3509,7 @@ PS C:\> $BackupJcOrganizationResults.User False + Get-JCAssociation @@ -3411,6 +3693,7 @@ PS C:\> $BackupJcOrganizationResults.User False + @@ -3546,6 +3829,7 @@ PS C:\> $BackupJcOrganizationResults.User None + TargetType @@ -3748,6 +4032,7 @@ PS C:\> $BackupJcOrganizationResults.User False + SystemGroups @@ -3818,6 +4103,7 @@ PS C:\> $BackupJcOrganizationResults.User False + SystemGroups @@ -3989,6 +4275,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Type @@ -4020,6 +4307,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Type @@ -4063,6 +4351,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Type @@ -4187,6 +4476,7 @@ PS C:\> $BackupJcOrganizationResults.User False + Get-JCCommand @@ -4249,6 +4539,7 @@ PS C:\> $BackupJcOrganizationResults.User None + returnProperties @@ -4392,6 +4683,7 @@ PS C:\> $BackupJcOrganizationResults.User None + returnProperties @@ -4553,6 +4845,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Get-JCCommandResult @@ -4568,6 +4861,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Get-JCCommandResult @@ -4582,9 +4876,11 @@ PS C:\> $BackupJcOrganizationResults.User False + Get-JCCommandResult + TotalCount @@ -4647,6 +4943,7 @@ PS C:\> $BackupJcOrganizationResults.User False + TotalCount @@ -4790,6 +5087,7 @@ PS C:\> $BackupJcOrganizationResults.User False + @@ -4817,6 +5115,7 @@ PS C:\> $BackupJcOrganizationResults.User False + @@ -4893,6 +5192,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Confirm @@ -4954,6 +5254,7 @@ PS C:\> $BackupJcOrganizationResults.User 0 + Q @@ -5123,6 +5424,7 @@ PS C:\> $BackupJcOrganizationResults.User 0 + Q @@ -5362,6 +5664,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Confirm @@ -5411,6 +5714,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Q @@ -5568,6 +5872,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Q @@ -5800,6 +6105,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -5815,6 +6121,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Type @@ -5905,9 +6212,12 @@ PS C:\> $BackupJcOrganizationResults.User Get-JCOrganization + - + + + @@ -5987,6 +6297,7 @@ PS C:\> $BackupJcOrganizationResults.User False + Get-JCPolicy @@ -6002,6 +6313,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6041,6 +6353,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6135,6 +6448,7 @@ PS C:\> $BackupJcOrganizationResults.User False + Get-JCPolicyResult @@ -6149,6 +6463,7 @@ PS C:\> $BackupJcOrganizationResults.User False + SystemID @@ -6176,6 +6491,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Get-JCPolicyResult @@ -6191,6 +6507,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6254,6 +6571,7 @@ PS C:\> $BackupJcOrganizationResults.User None + SystemID @@ -6368,6 +6686,7 @@ PS C:\> $BackupJcOrganizationResults.User False + Get-JCPolicyTargetGroup @@ -6383,6 +6702,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6422,6 +6742,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6516,6 +6837,7 @@ PS C:\> $BackupJcOrganizationResults.User False + Get-JCPolicyTargetSystem @@ -6531,6 +6853,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6570,6 +6893,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6653,6 +6977,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6668,6 +6993,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -6800,6 +7126,7 @@ PS C:\> $BackupJcOrganizationResults.User False + Get-JCRadiusServer @@ -6878,6 +7205,7 @@ PS C:\> $BackupJcOrganizationResults.User False + @@ -6953,6 +7281,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Skip @@ -7076,6 +7405,7 @@ PS C:\> $BackupJcOrganizationResults.User Get-JCScheduledUserstate + State @@ -7095,6 +7425,7 @@ PS C:\> $BackupJcOrganizationResults.User Get-JCScheduledUserstate + UserId @@ -7110,6 +7441,7 @@ PS C:\> $BackupJcOrganizationResults.User + State @@ -7406,6 +7738,7 @@ PS C:\> $BackupJcOrganizationResults.User None + remoteIP @@ -7558,6 +7891,7 @@ PS C:\> $BackupJcOrganizationResults.User None + SystemFDEKey @@ -7776,6 +8110,7 @@ PS C:\> $BackupJcOrganizationResults.User None + remoteIP @@ -8007,6 +8342,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Search @@ -8074,6 +8410,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Search @@ -8219,6 +8556,7 @@ PS C:\> $BackupJcOrganizationResults.User None + Get-JCSystemGroupMember @@ -8234,6 +8572,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -8261,6 +8600,7 @@ PS C:\> $BackupJcOrganizationResults.User None + @@ -8344,6 +8684,7 @@ PS C:\> $BackupJcOrganizationResults.User None + SystemId @@ -8383,6 +8724,7 @@ PS C:\> $BackupJcOrganizationResults.User None + SystemId @@ -8483,9 +8825,11 @@ PS C:\> $BackupJcOrganizationResults.User None + + SystemID @@ -8960,6 +9304,7 @@ PS C:\> $BackupJcOrganizationResults.User None + recoveryEmail @@ -9146,6 +9491,7 @@ PS C:\> $BackupJcOrganizationResults.User None + userid @@ -9521,6 +9867,7 @@ PS C:\> $BackupJcOrganizationResults.User None + recoveryEmail @@ -9756,6 +10103,7 @@ Get-JCUser -Username cClemons None + Get-JCUserGroupMember @@ -9771,6 +10119,7 @@ Get-JCUser -Username cClemons None + @@ -9798,6 +10147,7 @@ Get-JCUser -Username cClemons None + @@ -9882,9 +10232,11 @@ Get-JCUser -Username cClemons None + + URL @@ -9979,6 +10331,7 @@ Get-JCUser -Username cClemons False + ProviderID @@ -10018,6 +10371,7 @@ Get-JCUser -Username cClemons False + ProviderID @@ -10121,6 +10475,7 @@ Get-JCUser -Username cClemons False + @@ -10148,6 +10503,7 @@ Get-JCUser -Username cClemons False + @@ -10251,6 +10607,7 @@ Get-JCUser -Username cClemons None + Variable1_name @@ -10314,6 +10671,7 @@ Get-JCUser -Username cClemons None + trigger @@ -10478,6 +10836,7 @@ Get-JCUser -Username cClemons None + @@ -10506,6 +10865,7 @@ Get-JCUser -Username cClemons None + @@ -10639,6 +10999,7 @@ SystemID CommandID Status None + shell @@ -10730,6 +11091,7 @@ SystemID CommandID Status None + shell @@ -10841,9 +11203,12 @@ SystemID CommandID Status New-JCDeploymentTemplate + - + + + @@ -10911,6 +11276,7 @@ SystemID CommandID Status False + Type @@ -10942,6 +11308,7 @@ SystemID CommandID Status False + Type @@ -11029,6 +11396,7 @@ SystemID CommandID Status False + Type @@ -11060,6 +11428,7 @@ SystemID CommandID Status False + Type @@ -11143,6 +11512,7 @@ SystemID CommandID Status None + TemplateID @@ -11182,6 +11552,7 @@ SystemID CommandID Status None + TemplateName @@ -11221,6 +11592,7 @@ SystemID CommandID Status None + TemplateID @@ -11420,6 +11792,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -11471,6 +11844,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + sharedSecret @@ -11568,6 +11942,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -11583,6 +11958,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -12090,6 +12466,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + recoveryEmail @@ -12722,6 +13099,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + recoveryEmail @@ -13001,6 +13379,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -13016,6 +13395,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -13170,6 +13550,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + Remove-JCAssociation @@ -13270,6 +13651,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -13309,6 +13691,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + TargetId @@ -13461,6 +13844,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -13489,6 +13873,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -13577,6 +13962,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -13605,6 +13991,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -13707,6 +14094,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + Remove-JCCommandTarget @@ -13734,6 +14122,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + Remove-JCCommandTarget @@ -13761,6 +14150,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -13800,6 +14190,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + SystemID @@ -13927,6 +14318,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserID @@ -13990,6 +14382,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserID @@ -14065,6 +14458,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserID @@ -14189,6 +14583,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserID @@ -14252,6 +14647,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserID @@ -14327,6 +14723,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserID @@ -14438,6 +14835,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + Remove-JCPolicy @@ -14464,6 +14862,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -14503,6 +14902,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -14602,6 +15002,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -14641,6 +15042,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -14744,6 +15146,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -14771,6 +15174,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -14867,6 +15271,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -14882,6 +15287,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + SystemID @@ -15003,6 +15409,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + Remove-JCSystemGroup @@ -15029,6 +15436,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -15068,6 +15476,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -15167,6 +15576,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + SystemID @@ -15195,6 +15605,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + SystemID @@ -15247,6 +15658,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + SystemID @@ -15354,6 +15766,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + SystemID @@ -15369,6 +15782,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV Remove-JCSystemUser + SystemID @@ -15408,6 +15822,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + SystemID @@ -15435,6 +15850,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + SystemID @@ -15571,6 +15987,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + UserID @@ -15613,6 +16030,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -15640,6 +16058,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + UserID @@ -15755,6 +16174,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + Remove-JCUserGroup @@ -15781,6 +16201,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV False + @@ -15820,6 +16241,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -15919,6 +16341,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserID @@ -15959,6 +16382,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -15998,6 +16422,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserID @@ -16114,6 +16539,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + Send-JCPasswordReset @@ -16129,9 +16555,11 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + + UserID @@ -16271,6 +16699,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserLockoutAction @@ -16343,6 +16772,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserLockoutAction @@ -16427,6 +16857,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + UserLockoutAction @@ -16596,6 +17027,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + trigger @@ -16662,6 +17094,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + timeout @@ -16774,6 +17207,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -16801,6 +17235,7 @@ PS C:\> New-JCPolicy -TemplateName darwin_Login_Window_Text -Values $policyV None + @@ -16900,6 +17335,7 @@ Enter a value between 1 and 2: None + Values @@ -16939,6 +17375,7 @@ Enter a value between 1 and 2: None + Values @@ -16990,6 +17427,7 @@ Enter a value between 1 and 2: None + Values @@ -17186,6 +17624,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + VLAN @@ -17329,6 +17768,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + VLAN @@ -17554,6 +17994,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli False + Set-JCRadiusServer @@ -17664,6 +18105,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli False + @@ -17739,6 +18181,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + sharedSecret @@ -17886,6 +18329,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + @@ -17913,6 +18357,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + @@ -18054,6 +18499,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + systemInsights @@ -18141,6 +18587,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + SystemID @@ -18249,6 +18696,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + SystemID @@ -18300,6 +18748,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + SystemID @@ -18327,6 +18776,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + SystemID @@ -18945,6 +19395,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + recoveryEmail @@ -19640,6 +20091,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + recoveryEmail @@ -20331,6 +20783,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + recoveryEmail @@ -21010,6 +21463,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + recoveryEmail @@ -21366,6 +21820,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + Set-JCUserGroupLDAP @@ -21393,6 +21848,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + @@ -21432,6 +21888,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli None + @@ -21522,6 +21979,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli False + SkipUninstallOld @@ -21548,6 +22006,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli False + SkipUninstallOld @@ -21642,6 +22101,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli False + ProviderID @@ -21681,6 +22141,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli False + ProviderID @@ -21783,6 +22244,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli False + @@ -21810,6 +22272,7 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli False + @@ -21859,4 +22322,5 @@ PS C:\> Set-JCPolicy -PolicyName "macOS - Login Window Policy" -Values $poli - \ No newline at end of file + + diff --git a/PowerShell/ModuleChangelog.md b/PowerShell/ModuleChangelog.md index a1e1aa53d..58aa786a9 100644 --- a/PowerShell/ModuleChangelog.md +++ b/PowerShell/ModuleChangelog.md @@ -1,6 +1,36 @@ +## 2.13.0 + +Release Date: August 8, 2024 + +#### RELEASE NOTES + +``` +New admin function, Get-JCAdmin - returns admins in your organization(s) +``` + +#### FEATURES: + +* Get-JCAdmin - Returns administrators in your organization + * MSP/MTP tenants can query multiple organizations or individual organizations + + +## 2.12.1 + +Release Date: August 08, 2024 + +#### RELEASE NOTES + +``` +Patch release to include new Pester Tests. No functional changes have been made +``` + +#### IMPROVEMENTS: + +Included Pester Test to check for updating documentation + ## 2.12.0 -Release Date: June 18, 2024 +Release Date: July 10, 2024 #### RELEASE NOTES