Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to pass Group parameter to Remove-PnPGroupMember from pipeline #3955

Merged
merged 2 commits into from
May 22, 2024

Conversation

jackpoz
Copy link
Contributor

@jackpoz jackpoz commented May 15, 2024

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

No related reported issues

What is in this Pull Request ?

This PR allows to pass Group parameter to Remove-PnPGroupMember from pipeline, in the same way similar commands like Add-PnPGroupMember and Get-PnPGroupMember already work.

Example to remove a user from the associated members group:

Get-PnPGroup -AssociatedMemberGroup | Remove-PnPGroupMember -LoginName "<login name>"

Before:
image

After:
image

@gautamdsheth gautamdsheth merged commit 000b526 into pnp:dev May 22, 2024
1 of 2 checks passed
@gautamdsheth
Copy link
Collaborator

Thanks @jackpoz , have merged it !
Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants