< Back

Set-JCOrganization

Thu Jan 16, 2020 9:17 am

NAME Set-JCOrganization



SYNOPSIS

Allows a multi tenant admin to update their connection to a specific JumpCloud organization.





SYNTAX

Set-JCOrganization [[-JumpCloudApiKey] <System.String>] [[-JumpCloudOrgId] <System.String>] [<CommonParameters>]





DESCRIPTION

The Set-JCOrganization command can only be run by JumpCloud admins with multi tenant (MT) associations. By default

the Set-JCOrganization run without any parameters with prompt JumpCloud MT admins with a selection list of their

available Organizations. Admins can use the '-JumpCloudOrgID' parameter to skip this prompt and set their

Organization programmatically.





PARAMETERS

-JumpCloudApiKey <System.String>

Please enter your JumpCloud API key. This can be found in the JumpCloud admin console within "API Settings"

accessible from the drop down icon next to the admin email address in the top right corner of the JumpCloud

admin console.



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-JumpCloudOrgId <System.String>

Organization Id can be found in the Settings page within the admin console. Only needed for multi tenant

admins.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Object







NOTES









-------------------------- Example 1 --------------------------



Set-JCOrganization



======== JumpCloud Multi Tenant Selector =======



1. displayName: MSP One | OrgID: 5b5o13o06tsand0c29a0t3s6

2. displayName: MSP Two | OrgID: 5b5o13o06tsand0d29o0g3s6



Select the number of the JumpCloud tenant you wish to connect to



Enter a value between 1 and 2:



Displays a prompt for MT admins to select which organization to connect to.

-------------------------- Example 2 --------------------------



Set-JCOrganization -JumpCloudOrgID 5b5o13o06tsand0c29a0t3s6



Uses the -JumpCloudOrgID parameter for MT admins to directly connect to a specific JumpCloud org.



RELATED LINKS

Online Version: https://github.com/TheJumpCloud/support ... ganization