- Print
- DarkLight
- PDF
Add-CUUser: Create New VDI App Users
- Print
- DarkLight
- PDF
Introduction
Using the Add-CUUser
cmdlet, you can add new VDI App users by creating a shadow user account in our backend. Note that this cmdlet does not create a user account for the Real-Time DX Console login. For more information see the troubleshooting section below.
Prerequisites
- ControlUp version 8.8 or higher
Syntax
Add-CUUser [-Upn] <String> [-Email] <String> [-SamAccountName] <String> [-UserDnsDomain] <String> [-FirstName] <String> [-LastName] <String> [<CommonParameters>]
Input Parameters
All input parameters below are mandatory and formatted as Strings
Parameter Name | Description |
---|---|
Upn | User Principal Name. The UPN consists of two parts: the user account name (usually the user's email address) and the domain name in which the user account is located |
Email address of the new user | |
SamAccountName | Security Account Manager Account Name. It is a logon name used in Active Directory to uniquely identify a user account within a domain |
UserDnsDomain | Domain Name of the new user |
FirstName | First name of the user |
LastName | Last name of the user |
How to Add a User
Import the ControlUp.PowerShell.User module into your PowerShell session
$pathtomodule = (Get-ChildItem "C:\Program Files\Smart-X\ControlUpMonitor\*ControlUp.PowerShell.User.dll" -Recurse | Sort-Object LastWriteTime -Descending)[0] Import-Module $pathtomodule
Run the command and add the user. Note that we use a dummy user in this example. Make sure that the email address
Add-CUUser -Upn johndoe@contoso.com -Email johndoe@contoso.com -SamAccountName jdoe -UserDnsDomain contoso.com -FirstName John -LastName Doe
If LDAP is configured and the user is assigned the Use Web Application permission, you can now connect to the VDI App with this user
Troubleshooting
The user you create with the Add-CUUser
cmdlet is not automatically allowed to log into the Real-Time DX Console. This error message appears when the user tries to log in:
To create an email address for a user in the ControlUp organization, the organization owner or any user with Login Access Manager privileges must use the Login Setup wizard, which can be found in the Home ribbon of the console.
After the email is added, the user will be able to access and log into the ControlUp organization.