Get JCCloudDirectory - TheJumpCloud/support GitHub Wiki
external help file: JumpCloud-help.xml Module Name: JumpCloud online version: https://github.com/TheJumpCloud/support/wiki/ schema: 2.0.0
Returns all Cloud Directory instances within a JumpCloud tenant, a single Cloud Directory instance using the -ID or -Name Parameter, or directories matching a single type using the -Type Parameter.
Get-JCCloudDirectory [-Type <String>] [<CommonParameters>]
Get-JCCloudDirectory [-Type <String>] [-Name <String>]
[<CommonParameters>]
Get-JCCloudDirectory [-Type <String>] [-ID <String>] [<CommonParameters>]
The Get-JCCloudDirectory function returns all information describing a JumpCloud Cloud Directory instance. To find the contents and payload of a specific instance the -ID or -Name Parameter must be used as this information is only accessible when using this Parameter. The associations for an individual Cloud Directory can also be queried using the -Association Parameter and specifying either 'Users' or 'UserGroups'
PS C:\> Get-JCCloudDirectory
Returns all Cloud Directory instances within a JumpCloud tenant
PS C:\> Get-JCCloudDirectory -Type office_365
Returns all Office 365 Cloud Directory instances within a JumpCloud tenant
PS C:\> Get-JCCloudDirectory -Name 'JumpCloud Office 365'
Returns the JumpCloud Office 365 Cloud Directory instance properties
PS C:\> Get-JCCloudDirectory -Name 'JumpCloud Office 365' -Association Users
Returns the direct and indirect user associations for the JumpCloud Office 365 Cloud Directory instance
PS C:\> Get-JCCloudDirectory -Name 'JumpCloud Office 365' -Association UserGroups
Returns the direct user group associations for the JumpCloud Office 365 Cloud Directory instance
The ID of cloud directory instance
Type: System.String
Parameter Sets: ByID
Aliases: _id
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The name of cloud directory instance
Type: System.String
Parameter Sets: ByName
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
The type of cloud directory
Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: g_suite, office_365
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.