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

Get-LocalGroupMember - Failed to compare two elements in the array, v2 #21617

Open
5 tasks done
weyCC81 opened this issue May 7, 2024 · 2 comments
Open
5 tasks done
Labels
Needs-Triage The issue is new and needs to be triaged by a work group.

Comments

@weyCC81
Copy link

weyCC81 commented May 7, 2024

Prerequisites

Steps to reproduce

Join a Windows Server 2016 Core server to a domain.
Added 3 domain groups to the local administrators group.
Moved the server back into a workgroup.
Ran Get-LocalGroupMember -Group Administrators

Expected behavior

It should return the group members as it would prior to moving to a workgroup and just display the unresolved SIDs for the old domain. Then ideally allow you to reference those unresolved SIDS for Remove-LocalGroupMember.

Actual behavior

Throws an exception:
Failed to compare two elements in the array

Error details

See: https://github.com/PowerShell/PowerShell/issues/2996

Environment data

See: https://github.com/PowerShell/PowerShell/issues/2996

Visuals

See: #2996

@weyCC81 weyCC81 added the Needs-Triage The issue is new and needs to be triaged by a work group. label May 7, 2024
@weyCC81
Copy link
Author

weyCC81 commented May 7, 2024

Reference to unreasonable and unexplained closure of #2996

@jhoneill
Copy link

jhoneill commented May 8, 2024

Reference to unreasonable and unexplained closure of #2996

It's a module shipped with Windows and not covered by this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage The issue is new and needs to be triaged by a work group.
Projects
None yet
Development

No branches or pull requests

2 participants