-PassThru flag to return the updated object.
External DocumentationTo learn more, visit the Active Directory On-Prem documentation.
Parameters
| Parameter | Description |
|---|---|
| Username | The username of the new user. |
| Password | The initial password for the new user. Note that the password is required if the user is created as Enabled. The password must be compatible with the organization’s password security rules. |
| Enable User | Should the user be enabled by default. |
Advanced Parameters
| Parameter | Description |
|---|---|
| User Principal Name | The UPN of the new user. |
| Email Address | The email address of the new user. |
| Given Name | The given name of the new user. |
| Surname | The surname of the new user. |
| Additional Flags | Additional flags to append to the PowerShell command. |
| Disable JSON Conversion | Disable the automatic conversion of the data into JSON format; the raw data is in PowerShell table format. |