LAB: Bulk Enable-UMMailbox
重點是 PowerShell 的foreach, 不過UM 的UI 也太簡單了. 無法批次啟用及設定, 一定要MIS 跳進來學及推廣 PowerShell. [PS] C:\> get-user -identity imss.quar | foreach { $_.samaccountname + ',' + $_.p hone.substring($_.phone.length - 3) } >> c:\userlist.csv [PS] C:\> import-csv c:\userlist.csv | foreach { enable-ummailbox -id $_.samaccou ntname -ummailboxpolicy MSFTPool -extensions $_.extension -pin $_.extension } [PS] C:\Documents and Settings\Exchadm\Desktop> Import-Csv c:\userlist.csv | fore ach { enable-ummailbox -id $_.samaccountname -ummailboxpolicy BenQPool -extensio ns $_.extension -pin $_.extension } Get-User -Filter "Title -like '*Manager'" [PS] C:\Documents and Settings\Exchadm\Desktop>Get-Mailbox -Server bqt-mb07 | ft -Property,SamAccountName,umenabled,extensions -Property SamAccountName ...