Hi,
I'm trying to run some tests on my Exchange server and I am having issues with this command
- [PS] C:\Program Files\Microsoft\Exchange Server\v14\Scripts>./new-TestCASConnectivityUser.ps1
Please enter a temporary secure password for creating test users. For security purposes, the password will be changed regularly and automatically by the system if SCOM is installed. The password must be cha
nged manually if SCOM is not installed.
Enter password: ***********
Create test user on: exchange.mail01.local
Click CTRL+Break to quit or click Enter to continue.:
Multiple organizational units match identity "Users". Specify a unique value.
At C:\Program Files\Microsoft\Exchange Server\v14\Scripts\new-TestCasConnectivityUser.ps1:49 char:7
+ <<<< new-Mailbox -Name:$UserName -Alias:$UserName -UserPrincipalName:$UserPrincipalName -SamAccountName:$SamAccountName -Password:$SecurePassword -Database:$mailboxDatabaseName -OrganizationalUnit
:$OrganizationalUnit -ErrorVariable err -ErrorAction SilentlyContinue
+ CategoryInfo : NotSpecified: (:) [], ManagementObjectAmbiguousException
+ FullyQualifiedErrorId : CBD13FF
CreateTestUser : Mailbox could not be created. Verify that OU ( Users ) exists and that password meets complexity requirements.
At C:\Program Files\Microsoft\Exchange Server\v14\Scripts\new-TestCasConnectivityUser.ps1:267 char:31
+ $result = CreateTestUser <<<< $exchangeServer $mailboxServer $securePassword $OrganizationalUnit $UMDialPlan $UMExtension $Prompt
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,CreateTestUse
fyi.: AdminDisplayVersion : Version 6.5 (Build 7638.2: Service Pack 2)
AdminDisplayVersion : Version 14.2 (Build 247.5)
Any suggestions would be appreciated