Quantcast
Channel: Exchange Server 2010 forum
Viewing all 19572 articles
Browse latest View live

Error when running a PowerShell script to determine number of emails sent to per external domain

$
0
0

Am using the script below but getting the error message below. Does anyone know what is causing the issue?

Thanks,

Dan

ERROR MESSAGE:

-------------------------------------------------------------------

Trim : Method invocation failed because [Selected.Microsoft.Exchange.Management.TransportLogSearchTasks.MessageTrackingEvent] doesn't contain a method named 'Trim'.
At C:\Scripts\CC.PS1:37 char:24
+ $Rcpt1 += ($Entry).Trim <<<< ("{ }").Split(",")
    + CategoryInfo          : InvalidOperation: (Trim:String) [], RuntimeException
    + FullyQualifiedErrorId : MethodNotFound

-------------------------------------------------------------------

Here is the script:

 #DISCLAIMER ENDS#

 

 

#Start Customization Here#

$MbServer = "SERVERNAME"

$StartFrom = "08/01/2016 07:00:00"

$EndAt = "08/08/2016 07:00:00"

$PathForOPFile = "C:\SCRIPTS\"

#End Customization Here#

 

 

[String[]]$ExternalDomains = @()

$Site=(Get-ExchangeServer $MbServer).Site

$SiteToParse=$Site.Name

$Data = Get-ExchangeServer | Where-Object {$_.IsHubTransportServer -eq $true -and $_.Site -Like "*$SiteToParse*"| Get-MessageTrackingLog -ResultSize Unlimited -EventId Receive -Start$StartFrom -end $EndAt| Where-object {($_.Recipients -ne $null-and ($_.Source -eq"STOREDRIVER"-and ($_.ClientHostName -Like "*$MbServer*")} |Select-Object Recipients

[String[]]$Rcpt1 = @()

Foreach ($Entry in $Data)

{

$Rcpt1 += ($Entry).Trim("{ }").Split(“,”)

}

$RecipientDomList =$Rcpt1

Foreach ($Domain in $RecipientDomList)

{

if ($Domain -NotLike "*@InternalDomain.Com")

{

$ExternalDomains += $Domain.Split("@")[1]

}

}

$ExternalDomains | Group-Object | Select Name, Count |Export-CSV "$PathForOPFile \op.csv" –NoType


How to merge two Exchnage Organizations which are in hybrid with Office 365

$
0
0

We have one Exchange Organization in one forest abc.com

We have another Exchange Organization in another forest xyz.com

There is two way trust between both forests.

Both organizations have hybrid setup in one Office 365 tenant O365.onmicrosoft.com with ADCONNECT and ADFS in place. We are migrating mailboxes from both organizations to Office 365.

We have completely migrated all mailboxes from xyz.com and have 20k onprem mailboxes pending to be migrated from abc.com.

Now management wants to consolidate both Exchange Organizations into one.

What is the best way to consolidate at this stage? Which tools are recommended at this stage?

verify/validate procedure to cope with transaction logs full

$
0
0

I had to fix our transaction logs last week...and I want to verify how to do it again if necessary.

1) dismount databases Get-MailboxDatabase -Server | Dismount-Database

2) enable circular logging Set-MailboxDatabase -CircularloggingEnabled:$true

3) mount databases Get-MailboxDatabase -Server | Mount-Database

4) wait several minutes

5) disable circular logging Set-MailboxDatabase -CircularloggingEnabled:$false

Any steps I am missing??

Thank you, Tom

Upgrade Exchnage 2010 RTM to SP3

$
0
0

hi everyone

my boss ask me upgrade our DC from 2008r2 to 2012r2 ,, but we have Exchange server 2010 RTM

So as i know i must upgrade to SP3 first to allow exchange 2010 work with 2012 DC.

my question is ,, i have the Hub and cas on server , and mailbox on other , what will be the steps here ??

** no DAG , No cluster .and this upgrade will effect my exchange , i mean dealing with firewall , barracuda ... ?

** after finish , if i upgrade the DC , Exchange 2010 will still work fine right ?

thank you


Osma Othman

Exchange 2010 Transport Problem

$
0
0

Hi,

I have a problem with exchange transport. I have to restart it ever week since my client always complaining about cannot send and recieve emails form external domain including Yahoo and especially Gmail.

Thanks in advanced.

regards,

Nissa


Exchange 2010 Database stuck at "Dismounting" status

$
0
0

Hi, Guys.

Need your assistance on this.

I need to delete an Exchange DB on a specific Exchange 2010 server. Before removing it, I attempted to dismount it, but the DB is stuck at dismount. Could I still remove such DB even if it is still stuck in dismounting status? Please advise.

Thank you.

Exchange 2010 SP1 DAG - Should DAG IP address show up in ipconfig results?

$
0
0

Hi Everyone,

I'm hoping someone could clarify whether the behaviour I'm seeing as normal for Exchange 2010 DAGs.

I administer an Exchange 2010 SP1 DAG with 3 nodes all located in the same Datacenter.  Each Node has NICs dedicated to the MAPI network and Replication networks. The DAG has been assigned a static IP address.

I noticed that running ipconfig/all  on one of the nodes  (let's call it Node 3) shows the DAG IP address (lets say192.168.183.62) bound to the MAPI NIC in addition to the assigned MAPI IP. A representation (IPs changed)of the settings for the MAPI NIC is as below:

==========================================================

Ethernet adapter MAPI:

   Connection-specific DNS Suffix  . : mycompany.com
   Description . . . . . . . . . . . : HP NC382i DP Multifunction Gigabit Server
 Adapter #2
   Physical Address. . . . . . . . . : 00-25-B3-E7-BF-C2
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.183.36(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   IPv4 Address. . . . . . . . . . . : 192.168.183.62(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.183.1
   DNS Servers . . . . . . . . . . . : 192.168.3.100
                                               192.168.3.101
                                               192.168.5.113
                                               192.168.5.153
   Primary WINS Server . . . . . . . : 192..168.72.104
   Secondary WINS Server . . . . . . : 192.168.72.103                                

   NetBIOS over Tcpip. . . . . . . . : Enabled
===========================================================

Now if I go into the tcp/ip properties for the MAPI NIC, only the MAPI IP (in this case 192.168.183.36) is shown. Similarly only the MAPI IP appears in the registry entry for the MAPI NIC. The ipconfig display therefore seems to have been manipulated in some way by Exchange?

Now the Ipconfig display on the other 2 nodes (Node1 and Node2) is normal with only the appropriate MAPI IP shown as bound to the MAPI NIC. The additional entry for the DAG IP does NOT appear.

We do have a DEV enviornment which appears normal, however this comprises VMs with a single interface, so this is not a like for like comparison.

The operation of Exchange and the DAG itself appears normal, however the "additional IP" on the MAPI interface is causing some headaches with our monitoring software. We can work around this but I'd really like to know if this is normal.

Can anyone clarify whether the ipconfig disparity that I've described is normal in an Exchange 2010 DAG setup? This may simply be an RTFM case :)

 

Transport rule not always applying. Exchange 2010

$
0
0

Hello,

I have a transport rule setup that works about 95% of the time. But on odd occasions the incoming mails bypass the rules entirely and just deliver as the original mail.

The Rule:

Conditions:

Sent to people: User1@my.domain

Actions:

Add a recipient in the To field: User1@my.domain

and Redirect the message to: User2@my.domain

The reason behind the rule is to ensure that when the "user1@my.domain" receives a mail even via BCC their address is in the To: field. This is because the "User2@my.domain" has an application that strips the attachments and puts them in a folder for the original mail recipient. The User2@my.domain account receives mail for many users to strip the attachments and needs to be able to know what mail account the mail came from hence the reason to populate the To: field as the BCC would not be known at this point.

Generally the rule works fine and the To field is populated, with the mail going to the correct accounts. But on occasion the mails just go to "user1@my.domain" and bypass the transport rules for no reason. The message tracking shows no errors and just delivers the mail to the original mailbox with no mention of the transport rules taking effect. When working you can see the transport rules making the changes and delivering the mails.

I dont believe that the rule has a problem. As testing on a lab environment we cannot replicate the issue.

Any help appreciated.

Regards


identify powerusers

$
0
0

Hello guys,

I have an old Exchange 2010 evnvironment with 4 mailbox servers.
We run into some performance issues due to not equal hardware setup of this 4 servers.

We also noticed that our 15000 mailboxes aren't distributed in the best way in the databases itself and also the databases on the server.

I want identify our powerusers so I can move them in dedicaded databases.

This is also good because we can get rid fo some whtiespac...

After all mailboxes are new distributed I also can think about a better balancing of the databases on our 4 servers.

The question is only how I'm able to identify a poweruser. Is it possible to check this in the IIS logs or any other Exchange logs?

Thank you in advance for any help :)

Issue with exchange 2010 Management console access denied error while accessing remotely over windows 7 or 10

$
0
0

Hi,

All admin getting access denied error while accessing EMC remotely exact error is 

The attempt to connect to http://xxx.abc.com/PowerShell using "Kerberos" authentication failed: Connecting to remote server failed with the following error message : Access is denied.

To give you lil background, we have different sites having two exchange server each with mailbox, cas, hub roles installed.we have dag implemented between the servers.

We are facing issues with server only at one site, we are able to open Exchange management console when logged in to server, but when we try to login to exchange management console via windows 7 or windows 10 remotely we get above error.

Just to add we are using Kemp Load balancer for load balancing between two servers, is it possinle kemp loader causing issue?

Regards,

Shitiz

Exchange 2010 recommendations needed!

$
0
0

I am looking for some feedback on some changes we are going to make in our Exchange 2010 environment.

We currently have 2 mailbox servers (with DAG) and two front end servers using Windows Network Load Balancing.

Current storage is all but used up - we are getting a new SAN shortly.

Once the new SAN in place, we are planning on transitioning our 4 server environment so that each server is multi-role (mailbox, client access, hub).

We will also will be implementing a hardware based load balancer solution as part of this.

Questions:
- Would it make more sense to create a brand new DAG along with new Exchange 2010 servers instead of attempting to modify our existing environment?
- Or, do we keep with the current DAG and create fresh new Exchange 2010 servers which are all multi-role?

We have a few thousand mailboxes to work - looking for the safest approach to making this change.

Thanks very much.

EX2010 SP3 RU4.. update to RU14

Selft Signed Certificate Error for clients connecting internally

$
0
0

Hello...

Environment 3 x Exchange 2010 Server

2 x Exchange Server primary site

1 x Exchange Server Secondary DR site

Windows 2008 Standard Edition R2

Before Change......

All 3 x exchange servers were behind TMG firewall. No issues connecting externally and internally. There is public and self signed certificate assigned to exchange servers

Internal and external URL for OWA and ECP are different.

After Change...

We have decommissioned our TMG server with Cisco ASA firewall

Since TMG has been decommissioned and 3 x exchange servers are behind ASA firewall. Only internal users are having certificate error popup every time they open and close outlook.

Troubleshooting..

To resolve issues I have setup split DNS for public domain name on internal DNS server.

Created CNAME against single exchange server

update internal URL for OWA and ECP same as external URL

Deleted profile from outlook and recreate profile

Above steps did not resolve the issue and I have rolled back.

Any feedback for resolution please?

 


Muhammad Mehdi

EDB File Error

$
0
0
How to resolve EDB file error? I have face problem with MS Exchange Server 2010, 2013 and 2016. Please give me useful solution about it.

Powershell list all users OWA policy (Exchange 2010)

$
0
0

Hello, I'm trying to found a powershell command that will list and/or export all users to a CSV file and show which Outlook Web App Mailbox Policy is applied to their account. Is there a way to achieve that?

Thank you


Hub Transport Back Pressure Causing Tarpitting

$
0
0

Hello All,

    I am seeing some log line in my SMTP Receive Connector logs stating that a message was tarpitted for X seconds due to back pressure. I have seen these types of issues before; however, they always were accompanied by an event log entry stating why the back pressure value was elevated to "medium" or "high". In this instance I'm not seeing any events in the event log regarding back pressure. I have searched for all known back pressure event IDs (15004 - 15007) and am unable to locate any. My EdgeTransport.exe.config is pretty much baseline as well. I do have the tarpit interval on the receive connector in question set to 00:00:00. Any assistance with troubleshooting this would be greatly appreciated.

Thanks,
Dana Garcia

Exchange 2010 - Outlook 2010 Calendar contents

$
0
0

Hi All,

I don't know what the default behavior is when you added other person's calendar in your outlook.

When I added one of my colleges calendar in my outlook then I am able to see his free/busy information along with meeting contents.

I believe only free/busy information should be visible and not the contents/subject

Please guide me how check for this so I'll be able to view only Free/busy information and not the meeting contents.

We are having Exchange 2010 in our environment.

Please suggest

Regards

Atul A


TheAtulA

Procedure on how to configure Outlook Anywhere in Exchange 2010 servers

$
0
0

Hi, Guys.

Need your assistance on this.

Could you please let me know the process/procedure on how to configure Outlook Anywhere in Exchange 2010 servers? Would there be any other requirements? Please advise.

Thank you.

Exchange 2010 , copy VHD for testing ...

$
0
0

hi everyone ,,

i need to create a test lab that will be same as my real network for testing , study ....we have old storge and we need to use.

my question is :

am using Vesper 6 , and we have 2 exchange one for hub and cas , and the other one for mailbox .no dag .no cas array . no cluster.

what the best scenario to copy the exchange server and dc ?

i have server,and old storage with 4TB (MS Storage 2008 )

i hope i made my self clear m English is not my first language :)


Osma Othman

Force Email for a Particular Domain Out a Different Public IP Address

$
0
0

Example: Force any emails from user@domainA.com out a different public IP address than user@domainB.com. 

Is this possible?

Here's the situation: Our marketing dept. sends out emails blasts and they are causing us to get blacklisted. Our CIO does not want to use a third party service for this. The marketing dept. sends these emails as web@domainB.com right now. I'd like for them to send as web@domainA, and then force Exchange to send any emails for domainA out a different public IP address. 

I am fairly familiar with Exchange and have decent experience. I honestly don't think this is possible to do and cannot find any resources/instructions online. Any help would be greatly appreciated. 
Viewing all 19572 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>