Category : Exchange Powershell

Exchange 2010 Anti-Spam modules install

Run the following command from the C:Program FilesMicrosoftExchange ServerV14Scripts folder. ./install-AntispamAgents.ps1 2. After the script has run, restart the Microsoft Exchange Transport service by running the following command. Restart-Service MSExchangeTransport For all anti-spam features to work correctly, you must have at least one IP address of an internal SMTP server set on the InternalSMTPServers parameter

Read More →

Exchange 2007 Powershell commands

Receive Connector —————– Define the FQDN: Set-ReceiveConnector “<Connector-Name>” –Fqdn:name.company.ca Set up Anonymous Authentication: (take a note of the current groups) Get-ReceiveConnector “<Connector-Name>” | Select PermissionsGroups (use the current value plus the new value) Set-ReceiveConnector “<Connector-Name>” –PermissionGroups:<AnonymousUsers, ExchangeUsers, ExchangeServers, ExchangeLegacyServers, Partners> ADMINISTRATION ++++++++++++++ New Mailbox User: New-Mailbox -Name “<name>” -Alias <alias> -Database “<mailboxdatabasename>” -UserPrincipalName <alias>@<domain.local> -OrganizationalUnit

Read More →