更新地址簿

Steven · 2023-12-30 19:50 · 53 views · Exchange · old id 187


Get-Mailbox -Identity han@syinsh.com| Select-Object DisplayName, ExchangeGuid
Get-ADUser -Filter {UserPrincipalName -eq "han@syinsh.com"} | Select-Object SID


Get-Recipient -RecipientType UserMailbox | Where-Object {$_.PrimarySmtpAddress -eq "han@syinsh.com"}
Get-Recipient -RecipientPreviewFilter (Get-GlobalAddressList "Default Global Address List").RecipientFilter

--更新全局地址簿
Update-GlobalAddressList -Identity "Default Global Address List"

← Back to home