PanosMitkas
asked on
OWAenabled property Error
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
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
ASKER
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
br.
Panos
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Just posting what I did to solve the issue, so others may benefit. Not interested in points
ASKER
As stated above
ASKER
Just posting what I did to solve the issue, so others may benefit. Not interested in points
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