JAEN

Active Directory

Remove-ADGroupMember

CautionRemove group members

Remove-ADGroupMember -Identity <grp> -Members <user>

Removes members — the revocation half of access management. Mind privileged groups.

Examples

  • Remove-ADGroupMember -Identity 'VPN-Users' -Members taro.yamadaRevoke VPN access

Syntax

Remove-ADGroupMember -Identity g -Members u1,u2 [-Confirm:$false]

Before you run it

Confirm the access impact first.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store