Remove JCOffice365Member - 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
Removes a user or usergroup from an Office365 instance
Remove-JCOffice365Member [-Name <String>] [-Username <String>] [-UserID <String>] [-GroupID <String>]
[-GroupName <String>] [<CommonParameters>]
Remove-JCOffice365Member [-ID <String>] [-Username <String>] [-UserID <String>] [-GroupID <String>]
[-GroupName <String>] [<CommonParameters>]
The Remove-JCOffice365Member function allows you to remove users or UserGroups from a GSuite Cloud Directory instance in your organization
Remove-JCOffice365Member -Name 'JumpCloud Office365' -Username 'john.doe'
Removes the user john.doe from the JumpCloud Office365 CloudDirectory instance
Remove-JCOffice365Member -Name 'JumpCloud Office365' -GroupName 'Sales Users'
Removes the Sales Users UserGroup from the JumpCloud Office365 CloudDirectory instance
A UserGroup ID to remove to the directory
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A UserGroup name to remove to the directory
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
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
A UserID to remove to the directory
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
A username to remove to the directory
Type: System.String
Parameter Sets: (All)
Aliases:
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.