Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Новый участник


Сообщения: 29
Благодарности: 0

Профиль | Отправить PM | Цитировать


deepred, с таким разделителем выдает такую ошибку:

Код: Выделить весь код
New-Mailbox : Cannot validate argument on parameter 'Alias'. The argument is nu
ll or empty. Supply an argument that is not null or empty and then try the comm
and again.
At line:1 char:64
+ Import-Csv recipients.csv | foreach-object { New-Mailbox -Alias <<<<  $_.Alia
s -name $_.Name -UserPrincipalName $_.UPN -FirstName $_.FN - LastName $_.LN -Pa
ssword $Password -Database "SG1\MDB1" -OrganizationalUnit corp.ertelecom.loc/Vo
ronezh/Users -ResetPasswordOnNextLogon:$false }
    + CategoryInfo          : InvalidData: (:) [New-Mailbox], ParameterBinding
   ValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Excha
   nge.Management.RecipientTasks.NewMailbox

Отправлено: 10:57, 10-08-2010 | #3