Link to home
Start Free TrialLog in
Avatar of duh123
duh123

asked on

How to activate "Out of Office" through powershell in ex2007

Hello

I'm trying to activate Out of Office for a mailbox on exchange 2007 through powershell.
I'm using the EWSOofUtil.dll from http://telnetport25.wordpress.com/2008/03/16/quick-ish-tip-exchange-2007-setting-oof-for-users-via-powershell-2/

And I can't get it working unless I provide the mailbox owners credentials.
But I don't know all passwords of all users.

If i run it as ExOrgAdmin I get an 'unauthorized', and if I run it as ExViewOnlyAdmin I get 'User is not not mailbox owner'

Is there another way to do it?
I dont' want to do it through CDO, although with CDO it works fine.
Please help?

thanks
Heinz


Avatar of Mestha
Mestha
Flag of United Kingdom of Great Britain and Northern Ireland image

Considering the script is developed by someone, rather than built in, it would probably be best to direct questions at the person who developed it. Your problem is almost certainly connected with permissions, but as there is nothing on the site about what permissions are required, it is almost impossible to answer.

Have you tried use the tool that has been developed by the same author as the post that you have linked to above?

-M
ASKER CERTIFIED SOLUTION
Avatar of duh123
duh123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial