< Back
Remove-JCAssociation
Post
NAME Remove-JCAssociation
SYNOPSIS
Remove an association between two object within the JumpCloud console.
SYNTAX
Remove-JCAssociation [-Type] {command | ldap_server | policy | application | radius_server | system_group | system
| user_group | user | g_suite | office_365} [-Id] <System.String[]> [[-TargetId] <System.String>] [[-TargetName]
<System.String>] [[-TargetType] {user_group | system | system_group | user | policy | command | application |
g_suite | ldap_server | office_365 | radius_server}] [-Force] [<CommonParameters>]
Remove-JCAssociation [-Type] {command | ldap_server | policy | application | radius_server | system_group | system
| user_group | user | g_suite | office_365} [-Name] <System.String[]> [[-TargetId] <System.String>] [[-TargetName]
<System.String>] [[-TargetType] {user_group | system | system_group | user | policy | command | application |
g_suite | ldap_server | office_365 | radius_server}] [-Force] [<CommonParameters>]
DESCRIPTION
The Remove-JCAssociation function allows you to create associations of a specific object to a target object.
PARAMETERS
-Force <System.Management.Automation.SwitchParameter>
Bypass user prompts and dynamic ValidateSet.
Required? false
Position? named
Default value False
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Id <System.String[]>
The unique id of the object.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <System.String[]>
The name of the object.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TargetId <System.String>
The unique id of the target object.
Required? false
Position? 10
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TargetName <System.String>
The name of the target object.
Required? false
Position? 11
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TargetType <System.String[]>
The type of the target object.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Type <System.String>
The type of the object.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
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
System.String
System.Management.Automation.SwitchParameter
System.String[]
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Remove-JCAssociation -Type:('radiusservers') -Id:('5c5c371704c4b477964ab4fa') -TargetType:('user_group')
-TargetId:('59f20255c9118021fa01b80f')
Remove the association between the radius server "5c5c371704c4b477964ab4fa" and the user group
"59f20255c9118021fa01b80f".
-------------------------- Example 2 --------------------------
PS C:\\> New-JCAssociation -Type:('radiusservers') -Name:('RadiusServer1') -TargetType:('user_group')
-TargetName:('All Users')
Remove the association between the radius server "RadiusServer1" and the user group "All Users".
RELATED LINKS
Online Version: https://github.com/TheJumpCloud/support ... ssociation
SYNOPSIS
Remove an association between two object within the JumpCloud console.
SYNTAX
Remove-JCAssociation [-Type] {command | ldap_server | policy | application | radius_server | system_group | system
| user_group | user | g_suite | office_365} [-Id] <System.String[]> [[-TargetId] <System.String>] [[-TargetName]
<System.String>] [[-TargetType] {user_group | system | system_group | user | policy | command | application |
g_suite | ldap_server | office_365 | radius_server}] [-Force] [<CommonParameters>]
Remove-JCAssociation [-Type] {command | ldap_server | policy | application | radius_server | system_group | system
| user_group | user | g_suite | office_365} [-Name] <System.String[]> [[-TargetId] <System.String>] [[-TargetName]
<System.String>] [[-TargetType] {user_group | system | system_group | user | policy | command | application |
g_suite | ldap_server | office_365 | radius_server}] [-Force] [<CommonParameters>]
DESCRIPTION
The Remove-JCAssociation function allows you to create associations of a specific object to a target object.
PARAMETERS
-Force <System.Management.Automation.SwitchParameter>
Bypass user prompts and dynamic ValidateSet.
Required? false
Position? named
Default value False
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Id <System.String[]>
The unique id of the object.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Name <System.String[]>
The name of the object.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TargetId <System.String>
The unique id of the target object.
Required? false
Position? 10
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TargetName <System.String>
The name of the target object.
Required? false
Position? 11
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-TargetType <System.String[]>
The type of the target object.
Required? false
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Type <System.String>
The type of the object.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
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
System.String
System.Management.Automation.SwitchParameter
System.String[]
OUTPUTS
System.Object
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Remove-JCAssociation -Type:('radiusservers') -Id:('5c5c371704c4b477964ab4fa') -TargetType:('user_group')
-TargetId:('59f20255c9118021fa01b80f')
Remove the association between the radius server "5c5c371704c4b477964ab4fa" and the user group
"59f20255c9118021fa01b80f".
-------------------------- Example 2 --------------------------
PS C:\\> New-JCAssociation -Type:('radiusservers') -Name:('RadiusServer1') -TargetType:('user_group')
-TargetName:('All Users')
Remove the association between the radius server "RadiusServer1" and the user group "All Users".
RELATED LINKS
Online Version: https://github.com/TheJumpCloud/support ... ssociation