Solved

OWAenabled property Error

Posted on 2014-11-12
6
411 Views
Last Modified: 2014-12-02
Hi guys, I am sure you have seen this before.
When I run scripts to find out what kind of devices we have in the company, this comes up on some users:

WARNING: The OWAEnabled property of mailbox 'Userxxx' isn't in a
consistent state. Reset the OWAEnabled property using the Set-CASMailbox cmdlet.

Now, fixing it is no problem but is there a way to get out a result with all mailboxes with similar problems?
someting like

Get-problemmailbox |export-CSV
Let me know if what i mean is unclear.
br.
Panos
0
Comment
Question by:PanosMitkas
  • 5
6 Comments
 
LVL 8

Expert Comment

by:tshearon
ID: 40440217
Not totally clear but maybe I can offer something. If you are wishing to get a list of mailboxes with the status of the owaenabled property then you can just use the following and sort your results by the property:

Get-CASMailbox -ResultSize unlimited | ft DisplayName, OWAEnabled |export-csv c:\owaenabled.csv -NoTypeInformation

To see who is enabled only run the following:

Get-CASMailbox -ResultSize unlimited | where { $_.OWAEnabled } | ft DisplayName, OWAEnabled |export-csv c:\owaenabled.csv -NoTypeInformation
0
 

Author Comment

by:PanosMitkas
ID: 40441965
Well not exactly. Actually what i want is to get all errors (the yellow lines) i get when I run scripts like that. I administrate an environment of over 25000 users, where a lot came in during migrations from other domains and some objects have errors. The objective is to couch these objects and correct the errors.
br.
Panos
0
 

Accepted Solution

by:
PanosMitkas earned 0 total points
ID: 40468961
For any that may have interest, it was quite easy. The solution was to do multiple queries on different properties and save the warnings, f.x.
Get-Casmailbox –resultsize unlimited | foreach {$_.Warning}

Get-Casmailbox –resultsize unlimited | Where-Object –Property Warning

Get-Casmailbox –resultsize unlimited 3> d:\temp\warnings.txt
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:PanosMitkas
ID: 40468964
Just posting what I did to solve the issue, so others may benefit. Not interested in points
0
 

Author Comment

by:PanosMitkas
ID: 40468967
As stated above
0
 

Author Closing Comment

by:PanosMitkas
ID: 40475507
Just posting what I did to solve the issue, so others may benefit. Not interested in points
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now