Solved

passwordstring can not convert to System.Security.SecureString

Posted on 2008-10-24
1
290 Views
Last Modified: 2012-06-27
i want to setup user with

[PS] C:\Windows\System32>Import-CSV D:\Mailboxes.csv | foreach {New-Mailbo
x -Alias $_.alias -Name $_.name -userPrincipalName $_.uPN -database $_.Db  -Pass
word $_.Pwd -FirstName $_.Firstname -Lastname $_.LastName -Organizationalunit $_
.Gruppe}

the csv :
"Name","uPN","db","pwd","alias","FirstName","LastName","Gruppe
"Hans_Peter","Hans_Peter.Aeberhard@test.local","u_50_db","*123Hans_PeterAeberhard","Aeberhard_Hans_Peter","Hans_Peter","Aeberhard","Virtuel"
"Michael","Michael.Aebersold@test.local","u_50_db","*123MichaelAebersold","Aebersold_Michael","Michael","Aebersold","Virtuel"

result:
passwordstring can not convert to System.Security.SecureString
0
Comment
Question by:ebertsys
1 Comment
 

Accepted Solution

by:
ebertsys earned 0 total points
ID: 22800805
i looks that i can't use a diffenrt password
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question