Skip to content

Fix Get-OpenADGroupMember with empty group - #100

Merged
jborean93 merged 1 commit into
mainfrom
get-member-empty
May 7, 2026
Merged

Fix Get-OpenADGroupMember with empty group#100
jborean93 merged 1 commit into
mainfrom
get-member-empty

Conversation

@jborean93

Copy link
Copy Markdown
Owner

This change makes sure that Get-OpenADGroupMember does not write an error if the group has no members. Instead it will output no items as there are no members. The cmdlet will still error if the -Identity points to a group that does not exist.

This change makes sure that `Get-OpenADGroupMember` does not write an
error if the group has no members. Instead it will output no items as
there are no members. The cmdlet will still error if the `-Identity`
points to a group that does not exist.
@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 80.21%. Comparing base (e6f4cdb) to head (8b58ac3).

Files with missing lines Patch % Lines
...c/PSOpenAD.Module/Commands/GetOpenADGroupMember.cs 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #100      +/-   ##
==========================================
+ Coverage   74.67%   80.21%   +5.54%     
==========================================
  Files          63       63              
  Lines        7060     7547     +487     
  Branches      902      903       +1     
==========================================
+ Hits         5272     6054     +782     
+ Misses       1604     1296     -308     
- Partials      184      197      +13     
Flag Coverage Δ
Linux_74_MIT 79.95% <91.66%> (+5.53%) ⬆️
Linux_75_MIT 79.95% <91.66%> (+5.46%) ⬆️
Linux_76_Heimdal 80.04% <91.66%> (+5.51%) ⬆️
Linux_76_MIT 79.84% <91.66%> (+5.35%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jborean93
jborean93 merged commit 1a50ff1 into main May 7, 2026
8 checks passed
@jborean93
jborean93 deleted the get-member-empty branch May 7, 2026 04:35
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.

1 participant