1. Home
  2. Docs
  3. Custom Powershell Scripts
  4. Scripts
  5. AddUser.ps1

AddUser.ps1

VariableDescription
$CompanyCodeThe unique code for the new company you just created
$CompanyNameThe company name of the company you just created
$CompanyDistinguishedNameThe distinguished name of the company in Active Directory
$ReferenceThe value from the reference field
$UserPrincipalNameThe new user’s UserPrincipalName
$SamAccountNameThe new user’s sAMAccountName
$UserDistinguishedNameThe new user’s distinguished name
Was this article helpful to you? Yes No

How can we help?