摘要: 1 #$Mails=get-mailbox -ResultSize 10 2 $Mails=get-mailbox -ResultSize Unlimited 3 $Mails | Measure-Object 4 5 $i=0 6 7 foreach ($Mail in $Mails) 8... 阅读全文
posted @ 2014-10-21 08:54 Anderson.Ling 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 1 $NewUserPath = ".\Office365AddUserToGroup.csv" 2 3 $NewUsers = import-csv $NewUserPath 4 5 foreach ($NewUser in $NewUsers) { 6 $Mail=$NewUser.Mai... 阅读全文
posted @ 2014-10-21 08:53 Anderson.Ling 阅读(858) 评论(0) 推荐(0) 编辑