Hi,
On Exchange 2010, when I try to run the script, I get an error:
[PS] D:Program FilesMicrosoftExchange ServerV14Scripts>.new-TestCasConnectivityUser.ps1
Please enter a temporary secure password for creating test users. For security, the password will be changed regularly
and automatically by the system.
Enter password: **********
Create test user on: HAMMBX01.uk.betfair.local
Control-Break to quit or Enter to continue:
CreateTestUser : Mailbox could not be created. Verify that OU 'Users' exists and that password meets complexity require
ments.
At D:Program FilesMicrosoftExchange ServerV14Scriptsnew-TestCasConnectivityUser.ps1:239 char:28
+ $result = CreateTestUser <<<< $exchangeServer $mailboxServer $securePassword $OrganizationalUnit $UMDialPlan $
UMExtension
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,CreateTestUser
If I create the User manually first, the script goes but, it looks like creating the User this way won't fit to configure the test account for the SCOM 2007 R2 Management Pack.
Any ideas?
Thank you.
Regards.
Antonio Domingos