locked
Problems with Exchange 2007 Management Shell RRS feed

  • Question

  • Hi

    We have 3 x MS Exchange 2007 SP3 servers. 2 are for hub transport and the other for mailbox server.

    I have been trying to get the Exchange Management Shell commands to set out of office replies for users, one such command example is as follows:

    Set-MailboxAutoReplyConfiguration user@somedomain.com –AutoReplyState Scheduled –StartTime “9/8/2011” –EndTime “9/15/2011” –ExternalMessage “External OOF message here” –InternalMessage “Internal OOF message here”

    But when I try this into the management shell I get:

    The term 'Set-MailboxAutoReplyConfiguration' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
    At line:1 char:34
    + Set-MailboxAutoReplyConfiguration  <<<< user@somedomain.com -ExternalMessage "External OOF message here" -InternalMessage "Internal OOF message here"

    Why is this happenning? Do I need an updated version of Management Shell? I have Exchange 2007 SP3 installed on all my servers.

    Can anyone shed some light on why I cannot issue these commands?

    I want to stop using my Outlook 2010 client, giving myself Full Access rights to the other users mailbox in order to set an Out of Office reply for them.

    When you have to manage several users it can be time consuming compared to the command line version.

    Thanks and regards

    Ipnotech

    Wednesday, April 18, 2012 12:03 AM

Answers

  • Set-MailboxAutoReplyConfiguration only available to Exchange 2010.

    http://technet.microsoft.com/en-us/library/dd638217.aspx

    Wednesday, April 18, 2012 3:32 AM
  • Hi Ipnotech,

    Yes, you cannot use that command in Exchange 2007.

    In Exchange 2007, when you want to do that by PowerShell command, you need use Exchange EWS Managed API.

    Here is a related document for you, hope can give you some help:

    Manage Exchange 2007 Out-Of-Office (OOF) Settings with PowerShell and the EWS Managed API

    http://www.mikepfeiffer.net/2010/07/manage-exchange-2007-out-of-office-oof-settings-with-powershell-and-the-ews-managed-api/

    Please Note: This document is not from Microsoft, just for your reference.

    Thanks,

    Evan


    Evan Liu

    TechNet Community Support

    Wednesday, April 18, 2012 8:40 AM
    Moderator

All replies

  • Set-MailboxAutoReplyConfiguration only available to Exchange 2010.

    http://technet.microsoft.com/en-us/library/dd638217.aspx

    Wednesday, April 18, 2012 3:32 AM
  • Hi Ipnotech,

    Yes, you cannot use that command in Exchange 2007.

    In Exchange 2007, when you want to do that by PowerShell command, you need use Exchange EWS Managed API.

    Here is a related document for you, hope can give you some help:

    Manage Exchange 2007 Out-Of-Office (OOF) Settings with PowerShell and the EWS Managed API

    http://www.mikepfeiffer.net/2010/07/manage-exchange-2007-out-of-office-oof-settings-with-powershell-and-the-ews-managed-api/

    Please Note: This document is not from Microsoft, just for your reference.

    Thanks,

    Evan


    Evan Liu

    TechNet Community Support

    Wednesday, April 18, 2012 8:40 AM
    Moderator