Collect and send E-Mail Addresses to our SPAMProxy Host

Collect E-Mail Addresses from your Domain with Powershell and send the file to our SPAMProxy Host
This commit is contained in:
2020-05-18 09:55:09 +02:00
parent c84867175c
commit a15cd9f64e
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# Collect and Display all SMTP E-Mail Addresses in Domain
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn
Get-Mailbox | Select Name -ExpandProperty EmailAddresses | Select SmtpAddress | ft -HideTableHeaders