Add Custom Attribute using data from CSV file
通过CSV文件,来为邮件用户批量添加自定义属性。注意请将您的CSV文件存为unicode格式。
##===============================================
## Title : Add Custom Atttribute
## Description : Add Custom Attribute using data from CSV file.
## Author : LeoHuang
## Date : 11/09/2009
## sample CSV file
# alias,CustomAttribute1,CustomAttribute2
# Test1,branch1,branch2
# Test2,branch1,branch2
##=============================================
Import-Csv c:\users.csv | foreach {get-user $_.alias | set-mailbox -CustomAttribute1 $_.CustomAttribute1 -CustomAttribute2 $_.CustomAttribute2}

2 条评论
Everyone loves your site.. pleasant colorations & design. Would you actually pattern this fabulous website your self and also performed you actually hire an attorney to do it for you? Plz answer as I!|m aiming to design and style my very own blog site and also would choose to know where you obtained that by. thanks a lot
Just wanna say thanks for this information. This is what I was searching for. Thanks Bing