
**********************
Windows PowerShell transcript start
Start time: 20151023102155
Username  : ONS\igbina
Machine	  : ONS16359 (Microsoft Windows 7 Enterprise  6.1.7601 Service Pack 1)
**********************
Transcript started, output file is \\ndata11\igbina$\My Documents\PowerShell_transcript.20151023102155.txt

PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot display the prompt for "ExternalEmailAddress" because type "Microsoft.Exchange.Data.ProxyAddress" cannot be loaded.
    + CategoryInfo          : ResourceUnavailable: (:) [], PromptingException
    + FullyQualifiedErrorId : System.Management.Automation.Host.PromptingException
    + PSComputerName        : fa1rvwapxx398
 
-Name : The term '-Name' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Scripts\Untitled4.ps1:30 char:2
+  -Name $Name `
+  ~~~~~
    + CategoryInfo          : ObjectNotFound: (-Name:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'Password'. Cannot convert the "Password123456" value of type "System.String" to type "System.Security.SecureString".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzmou                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'Password'. Cannot convert the "Password123456" value of type "System.String" to type "System.Security.SecureString".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Active Directory operation failed on FA1RPONSDC001.Ons.Statistics.gov.uk. The object 'CN=zzzmou,OU=ExchangeObjects,OU=ONS,DC=Ons,DC=Statistics,DC=gov,DC=uk' already exists.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], ADObjectAlreadyExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=8ab9eb0e-e7d7-4365-91bc-2b04752ffc49,TimeStamp=23/10/2015 09:34:13] [FailureCategory=Cmdlet-ADObjectAlreadyExistsException] E794D0B,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
ConvertTo-SecureString : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'String'. Specified method is not supported.
At C:\Scripts\Untitled4.ps1:20 char:37
+ $Password = (ConvertTo-SecureString $NewUser.password -AsPlainText -Force)
+                                     ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [ConvertTo-SecureString], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
ConvertTo-SecureString : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'String'. Specified method is not supported.
At C:\Scripts\Untitled4.ps1:20 char:37
+ $Password = (ConvertTo-SecureString $NewUser.password -AsPlainText -Force)
+                                     ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [ConvertTo-SecureString], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzmou                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzGre                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
ConvertTo-SecureString : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'String'. Specified method is not supported.
At C:\Scripts\Untitled4.ps1:20 char:37
+ $Password = (ConvertTo-SecureString $NewUser.password -AsPlainText -Force)
+                                     ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [ConvertTo-SecureString], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
ConvertTo-SecureString : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'String'. Specified method is not supported.
At C:\Scripts\Untitled4.ps1:20 char:37
+ $Password = (ConvertTo-SecureString $NewUser.password -AsPlainText -Force)
+                                     ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [ConvertTo-SecureString], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
ConvertTo-SecureString : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'String'. Specified method is not supported.
At C:\Scripts\Untitled4.ps1:20 char:45
+ [string]$Password = (ConvertTo-SecureString $NewUser.password -AsPlainText -Forc ...
+                                             ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [ConvertTo-SecureString], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
ConvertTo-SecureString : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'String'. Specified method is not supported.
At C:\Scripts\Untitled4.ps1:20 char:45
+ [string]$Password = (ConvertTo-SecureString $NewUser.password -AsPlainText -Forc ...
+                                             ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [ConvertTo-SecureString], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'Password'. Cannot convert the "System.Security.SecureString" value of type "System.String" to type "System.Security.SecureString".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'Password'. Cannot convert the "System.Security.SecureString" value of type "System.String" to type "System.Security.SecureString".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'Password'. Cannot convert the "System.Security.SecureString" value of type "System.String" to type "System.Security.SecureString".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
ConvertTo-SecureString : Cannot bind argument to parameter 'String' because it is null.
At C:\Scripts\Untitled4.ps1:33 char:36
+  -Password (ConvertTo-SecureString $_.password -AsPlainText -Force) `
+                                    ~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
ConvertTo-SecureString : Cannot bind argument to parameter 'String' because it is null.
At C:\Scripts\Untitled4.ps1:33 char:36
+  -Password (ConvertTo-SecureString $_.password -AsPlainText -Force) `
+                                    ~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
ConvertTo-SecureString : Cannot bind argument to parameter 'String' because it is null.
At C:\Scripts\Untitled4.ps1:33 char:36
+  -Password (ConvertTo-SecureString $_.password -AsPlainText -Force) `
+                                    ~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
ConvertTo-SecureString : Cannot bind argument to parameter 'String' because it is null.
At C:\Scripts\Untitled4.ps1:33 char:36
+  -Password (ConvertTo-SecureString $_.password -AsPlainText -Force) `
+                                    ~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [ConvertTo-SecureString], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertToSecureStringCommand
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzmou                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzmou                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzGre                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzGre                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot display the prompt for "ExternalEmailAddress" because type "Microsoft.Exchange.Data.ProxyAddress" cannot be loaded.
    + CategoryInfo          : ResourceUnavailable: (:) [], PromptingException
    + FullyQualifiedErrorId : System.Management.Automation.Host.PromptingException
    + PSComputerName        : fa1rvwapxx398
 
Cannot display the prompt for "ExternalEmailAddress" because type "Microsoft.Exchange.Data.ProxyAddress" cannot be loaded.
    + CategoryInfo          : ResourceUnavailable: (:) [], PromptingException
    + FullyQualifiedErrorId : System.Management.Automation.Host.PromptingException
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot display the prompt for "ExternalEmailAddress" because type "Microsoft.Exchange.Data.ProxyAddress" cannot be loaded.
    + CategoryInfo          : ResourceUnavailable: (:) [], PromptingException
    + FullyQualifiedErrorId : System.Management.Automation.Host.PromptingException
    + PSComputerName        : fa1rvwapxx398
 
Cannot display the prompt for "ExternalEmailAddress" because type "Microsoft.Exchange.Data.ProxyAddress" cannot be loaded.
    + CategoryInfo          : ResourceUnavailable: (:) [], PromptingException
    + FullyQualifiedErrorId : System.Management.Automation.Host.PromptingException
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot validate argument on parameter 'Alias'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'SMTP:zzmicky.zzmouse@notes.ons.gov.uk zzGary2.zzGreenwood2@notes.ons.gov.uk' is invalid: Specified argument was out of the range of valid values.
Parameter name: The address 'zzmicky.zzmouse@notes.ons.gov.uk zzGary2.zzGreenwood2@notes.ons.gov.uk' is not a valid SMTP address.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=e3e6ee20-692a-40e0-8a78-ec3872f86c53,TimeStamp=23/10/2015 10:53:25] [FailureCategory=Cmdlet-DataValidationException] B049A414,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'SMTP:zzmicky.zzmouse@notes.ons.gov.uk zzGary2.zzGreenwood2@notes.ons.gov.uk' is invalid: Specified argument was out of the range of valid values.
Parameter name: The address 'zzmicky.zzmouse@notes.ons.gov.uk zzGary2.zzGreenwood2@notes.ons.gov.uk' is not a valid SMTP address.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=b6d1cd75-a9e4-4a33-b55c-bfeb51bd2bdf,TimeStamp=23/10/2015 10:53:26] [FailureCategory=Cmdlet-DataValidationException] B049A414,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
SMTP:$NewUser.ExternalEmailAddress : The term 'SMTP:$NewUser.ExternalEmailAddress' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is 
correct and try again.
At C:\Scripts\Untitled4.ps1:15 char:25
+ $ExternalEmailAddress    = SMTP:$NewUser.ExternalEmailAddress
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (SMTP:$NewUser.ExternalEmailAddress:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
SMTP:$NewUser.ExternalEmailAddress : The term 'SMTP:$NewUser.ExternalEmailAddress' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is 
correct and try again.
At C:\Scripts\Untitled4.ps1:15 char:25
+ $ExternalEmailAddress    = SMTP:$NewUser.ExternalEmailAddress
+                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (SMTP:$NewUser.ExternalEmailAddress:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
You cannot call a method on a null-valued expression.
At C:\Scripts\Untitled4.ps1:15 char:1
+ $ExternalEmailAddress    = $_.ExternalEmailAddress.Trim()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
You cannot call a method on a null-valued expression.
At C:\Scripts\Untitled4.ps1:15 char:1
+ $ExternalEmailAddress    = $_.ExternalEmailAddress.Trim()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
A parameter cannot be found that matches parameter name 'ExternalEmailAddress$ExternalEmailAddress'.
    + CategoryInfo          : InvalidArgument: (:) [New-MailUser], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
A parameter cannot be found that matches parameter name 'ExternalEmailAddress$ExternalEmailAddress'.
    + CategoryInfo          : InvalidArgument: (:) [New-MailUser], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot validate argument on parameter 'Alias'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot validate argument on parameter 'Alias'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
A parameter cannot be found that matches parameter name 'ExternalEmailAddress$ExternalEmailAddress'.
    + CategoryInfo          : InvalidArgument: (:) [New-MailUser], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
A parameter cannot be found that matches parameter name 'ExternalEmailAddress$ExternalEmailAddress'.
    + CategoryInfo          : InvalidArgument: (:) [New-MailUser], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
Cannot process argument transformation on parameter 'ExternalEmailAddress'. Cannot convert the "System.Collections.ArrayList" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.ProxyAddress".
    + CategoryInfo          : InvalidData: (:) [New-MailUser], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-MailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=96816520-e258-4a0e-b422-580e615f61c4,TimeStamp=23/10/2015 11:31:11] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=113c19fb-e8b2-4f3f-b898-11922c587694,TimeStamp=23/10/2015 11:31:11] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'zzmicky.zzmouse@ons.gov.uk zzmicky2.zzmouse2@ons.gov.uk' is invalid: "zzmicky.zzmouse@ons.gov.uk zzmicky2.zzmouse2@ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix and a suffix, such as 
example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=b83f6bc3-38e3-4313-9888-9552991ae902,TimeStamp=23/10/2015 11:32:46] [FailureCategory=Cmdlet-DataValidationException] E6C6785D,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'zzmicky.zzmouse@ons.gov.uk zzmicky2.zzmouse2@ons.gov.uk' is invalid: "zzmicky.zzmouse@ons.gov.uk zzmicky2.zzmouse2@ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix and a suffix, such as 
example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=4cf99a87-72c0-4832-8983-d781a46b1e2d,TimeStamp=23/10/2015 11:32:46] [FailureCategory=Cmdlet-DataValidationException] E6C6785D,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=92f31361-9a41-46b9-a031-f0786a3c8211,TimeStamp=23/10/2015 11:33:23] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=dea873b7-d0b3-4538-b3e4-0f2e053debb2,TimeStamp=23/10/2015 11:33:23] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzmou                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=4b1dc4c9-45e9-4edd-8a73-1a0c698979cc,TimeStamp=23/10/2015 11:33:55] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=32ad24d4-ddb2-4328-b125-d5d0c7b93789,TimeStamp=23/10/2015 11:33:55] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=10b9fd15-3318-4321-9a54-49136e89f2a6,TimeStamp=23/10/2015 11:36:58] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=69b08fb2-a887-4be8-9ec8-d4108e452f85,TimeStamp=23/10/2015 11:36:58] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=114f0c4d-0d69-4b40-99cf-9d3383b17249,TimeStamp=23/10/2015 11:37:27] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=045a390b-e5d1-4c77-896b-4801bc8e375e,TimeStamp=23/10/2015 11:37:27] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=66b39c6c-744d-4c95-a929-1468deb741d2,TimeStamp=23/10/2015 11:37:31] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=48dadcca-0978-4442-a047-c14808dc7d5a,TimeStamp=23/10/2015 11:37:31] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=e8974709-2cbf-42a4-89c2-d0a90e553d19,TimeStamp=23/10/2015 11:37:48] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
The address 'zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk' is invalid: "zzmicky.zzmouse@notes.ons.gov.uk zzmicky2.zzmouse2@notes.ons.gov.uk" isn't a valid SMTP address. The domain name can't contain spaces and it has to have a prefix 
and a suffix, such as example.com.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], DataValidationException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=53ea1277-c03e-494d-9d53-c0afc3e95d9b,TimeStamp=23/10/2015 11:37:48] [FailureCategory=Cmdlet-DataValidationException] B76736BF,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
z z zzmou zzmou                          MailUser                                                                                                                                                                                                                
Active Directory operation failed on FA1RPONSDC001.Ons.Statistics.gov.uk. The object 'CN=z z zzmou zzmou,OU=ExchangeObjects,OU=ONS,DC=Ons,DC=Statistics,DC=gov,DC=uk' already exists.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], ADObjectAlreadyExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=ebe4a3a2-0369-48f2-9ab3-2054e674c120,TimeStamp=23/10/2015 11:45:57] [FailureCategory=Cmdlet-ADObjectAlreadyExistsException] 36C2864E,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The proxy address "SMTP:zzmicky.zzmouse@notes.ons.gov.uk" is already being used by the proxy addresses or LegacyExchangeDN of "Ons.Statistics.gov.uk/ONS/ExchangeObjects/z z zzmou zzmou". Please choose another proxy address.
    + CategoryInfo          : NotSpecified: (Ons.Statistics....eObjects/zzzmou:ADObjectId) [New-MailUser], ProxyAddressExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=66284928-c247-45bf-81e0-51f79504d87f,TimeStamp=23/10/2015 11:46:54] [FailureCategory=Cmdlet-ProxyAddressExistsException] 89C9E093,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzmou                                   MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzmou                                   MailUser                                                                                                                                                                                                                
Active Directory operation failed on FA1RPONSDC001.Ons.Statistics.gov.uk. The object 'CN=zzzmou,OU=ExchangeObjects,OU=ONS,DC=Ons,DC=Statistics,DC=gov,DC=uk' already exists.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], ADObjectAlreadyExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=e8cb773d-8eea-4eba-9cac-7269ba270873,TimeStamp=23/10/2015 11:48:11] [FailureCategory=Cmdlet-ADObjectAlreadyExistsException] E794D0B,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzzmou                                   MailUser                                                                                                                                                                                                                
Active Directory operation failed on FA1RPONSDC001.Ons.Statistics.gov.uk. The object 'CN=zzzmou,OU=ExchangeObjects,OU=ONS,DC=Ons,DC=Statistics,DC=gov,DC=uk' already exists.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], ADObjectAlreadyExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=5ffeafd6-23f0-431d-b534-7febc67ef39b,TimeStamp=23/10/2015 11:49:46] [FailureCategory=Cmdlet-ADObjectAlreadyExistsException] E794D0B,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzmickyo                                 MailUser                                                                                                                                                                                                                
Active Directory operation failed on FA1RPONSDC002.Ons.Statistics.gov.uk. The object 'CN=zzmickyo,OU=ExchangeObjects,OU=ONS,DC=Ons,DC=Statistics,DC=gov,DC=uk' already exists.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], ADObjectAlreadyExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=020bac66-ebed-4d20-8617-ca4ed7700658,TimeStamp=23/10/2015 12:30:55] [FailureCategory=Cmdlet-ADObjectAlreadyExistsException] 75CD90D9,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
The proxy address "SMTP:zzmicky.zzmouse@notes.ons.gov.uk" is already being used by the proxy addresses or LegacyExchangeDN of "Ons.Statistics.gov.uk/ONS/ExchangeObjects/zzmickyo". Please choose another proxy address.
    + CategoryInfo          : NotSpecified: (Ons.Statistics....bjects/zzmousei:ADObjectId) [New-MailUser], ProxyAddressExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=e0211f81-b09f-4a97-a0a3-06ed63b9cb83,TimeStamp=23/10/2015 12:35:32] [FailureCategory=Cmdlet-ProxyAddressExistsException] 26A2284D,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzmooosi                                 MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzmousem                                 MailUser                                                                                                                                                                                                                
zzmooosm                                 MailUser                                                                                                                                                                                                                


PS C:\Scripts> C:\Scripts\Modules\transcript.psm1
Active Directory operation failed on FA1RPONSDC002.Ons.Statistics.gov.uk. The object 'CN=zzmousem,OU=ExchangeObjects,OU=ONS,DC=Ons,DC=Statistics,DC=gov,DC=uk' already exists.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], ADObjectAlreadyExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=51b1083b-0521-46e0-b8ae-aed1d4e3ee02,TimeStamp=23/10/2015 12:38:27] [FailureCategory=Cmdlet-ADObjectAlreadyExistsException] 8F819AE7,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 
Active Directory operation failed on FA1RPONSDC002.Ons.Statistics.gov.uk. The object 'CN=zzmooosm,OU=ExchangeObjects,OU=ONS,DC=Ons,DC=Statistics,DC=gov,DC=uk' already exists.
    + CategoryInfo          : NotSpecified: (:) [New-MailUser], ADObjectAlreadyExistsException
    + FullyQualifiedErrorId : [Server=FA1RVWAPXX398,RequestId=5d658cc3-7f65-434a-8327-47da7f161c14,TimeStamp=23/10/2015 12:38:27] [FailureCategory=Cmdlet-ADObjectAlreadyExistsException] EC811BF7,Microsoft.Exchange.Management.RecipientTasks.NewMailUser
    + PSComputerName        : fa1rvwapxx398
 

Name                                     RecipientType                                                                                                                                                                                                           
----                                     -------------                                                                                                                                                                                                           
zzWilliR                                 MailUser                                                                                                                                                                                                                


