-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Bring back Microsoft.PowerShell.LocalAccounts module #12242
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.
8000By 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
Conversation
|
I don't think this work should be part of PowerShell itself. The inbox module loads for me without issue. |
Expectations are to get the module working on Unix. |
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this work should be part of PowerShell itself. The inbox module loads for me without issue.
Request to port AccountManagement API to Linux dotnet/runtime#37100 |
Why should this not be introduced as a module outside PowerShell first, then when it's working, brought into PowerShell? |
@TravisEz13 It is minor details. Main question is how MSFT team sees a future of the module. If as open source and ported today is best time to do this - while .Net 5.0 is under development we could move to the public API for PowerShell 7.1. Then in .Net 6.0 timeline we could get portable API for next PowerShell 7.2 LTS. |
The question was already answered, by the committee in a previous PR, that this should be a new module, published separately. Then we can answer the question about bringing back into PowerShell. That answer implies that the namespace should be separate. |
If MSFT team has clear understanding about future of LocalAccounts module I'd expect that MSFT team share this in new issue like:
Since my intention was to increase backward compatibility and to simplify migration to PowerShell Core I close the PR because I have no plans to develop a personal module. |
PR Summary
Bring back Microsoft.PowerShell.LocalAccounts module.
Replace internal API with System.DirectoryServices.AccountManagement
Fix #2996
PR Context
#4302
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.