top of page
  • Berat Bey

List all SMTP addresses with PowerShell



Get-Recipient -ResultSize Unlimited | Select-Object DisplayName,PrimarySmtpAddress, @{Name="EmailAddresses";Expression={($_.EmailAddresses | Where-Object {$_ -clike "smtp*"} | ForEach-Object {$_ -replace "smtp:",""}) -join ","}} | Sort-Object DisplayName | Out-GridView



Kaynak: https://www.alitajran.com/list-all-smtp-addresses-with-powershell/

3 görüntüleme0 yorum

Son Yazılar

Hepsini Gör

Comentários


bottom of page