Output Receive Connector Settings to a Text File Get-ReceiveConnector <ReceiveConnectorName> | Format-List | Out-File “X:\FilePath\Receive-Connector.txt” Create a New Receive Connector and Copy the Remote IP Ranges from an Existing Receive Connector on Another Hub Server New-ReceiveConnector <ReceiveConnectorName> -Server <ServerName> …
List Mailboxes with Custom Quotas and Export to CSV get-mailbox -resultsize unlimited | where-object { $_.UseDatabaseQuotaDefaults -eq $false } | select-object DisplayName,Database,UseDatabaseQuotaDefaults,ProhibitSendReceiveQuota | export-csv ‘.\user-quotas.csv’ Find Recipients that Use a Particular Email Domain get-recipient -resultsize unlimited | where { …
Common Exchange 2010 Management Shell (Powershell) Commands for Mailbox Databases: Exclude Databases from Automatic Provisioning Set-MailboxDatabase <DBName> -IsExcludedFromProvisioning $true Suspend Databases from Automatic Provisioning Set-MailboxDatabase <DBName> -IsSuspendedFromProvisioning $false Add a Database Copy to a Server Add-MailboxDatabaseCopy -Identity …
Email for our users is redirected from the email environment at our corporate headquarters, and if we remove a mailbox in our Exchange 2010 environment without telling HQ to remove the redirect, an email loop will occur. This doesn’t occur …
This is for Windows Server 2008 R2 and Exchange 2010. Action Tab New Action > Start a Program Program/Script: PowerShell.exe Add Arguments -PSConsoleFile “C:\Program Files\Microsoft\Exchange Server\V14\Bin\ExShell.psc1” -Command “<Path to Script>” Optionally, you may need to add the “Start In” path …
A simple PowerShell script that can run on an Exchange 2010 server. This script will send an email report that contains usage statistics for each mailbox in an Exchange 2010 database. Step 01: Define some variables $FromAddr = “myName@company.com” $ToAddr …
A simple PowerShell script that can run on an Exchange 2010 server. This script will send an email report of the Mailbox Database Copy Status for each of your Exchange 2010 servers with the Mailbox Role. Step 01: Define some …