Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 295
  • Last Modified:

passwordstring can not convert to System.Security.SecureString

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
ebertsys
Asked:
ebertsys
1 Solution
 
ebertsysAuthor Commented:
i looks that i can't use a diffenrt password
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now