-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Running New-LocalUser in PowerShell 7.3 raises an error #18624
Comments
This is a problem in Windows PowerShell and that team is aware of this already. For now, you'll have to use Windows PowerShell to use that cmdlet. |
This issue has been marked as external and has not had any activity for 1 day. It has been be closed for housekeeping purposes. |
@SteveL-MSFT, could you please provide a link to the bug in the "external component" so that we receive a notification when the issue is resolved? |
Link to the bug would be super useful, as we also notice the same issue on 7.3.4. |
PowerShell 7.3.4 ; same issue for me. |
Has there been any progress on this? Also running into the same error PS7.3.5 on W11. |
Is there any update on this? Still hitting the error on 7.4.0-preview.4 and Windows 11. |
I found a workaround to this issue by using the below import. import-module microsoft.powershell.localaccounts -UseWindowsPowerShell |
Still seeing this issue on 7.4.1 on Windows 11. |
I am seeing it as well. the workaround posted above does seem to allow it to function. |
Prerequisites
Steps to reproduce
To reproduce :
Open PowerShell 7.3 X64 . (latest)
Run the
New-LocalUser
CmdletExpected behavior
Creation of Local User
Actual behavior
Error details
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: