mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Resolving #3242 At this point, user account is created even if user attributes assignment (like setting password) fails. The cmdlet throws a non-terminating error but ends up creating the user. This behavior is confusing. As per the changes, the localuser account will be rolled back in case of failure in user attributes assignment.