Get-OutlookAnywhere (RTM)
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007
Use the Get-OutlookAnywhere cmdlet to retrieve all Outlook Anywhere settings on a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.
Syntax
Get-OutlookAnywhere [-DomainController <Fqdn>] [-Identity <VirtualDirectoryIdParameter>] [-Server <ServerIDParameter>]
Detailed Description
Use the Get-OutlookAnywhere cmdlet to retrieve all Outlook Anywhere settings on an Exchange 2007 Client Access server.
To run the Get-OutlookAnywhere cmdlet, the account you use must be delegated the following:
- Exchange View-Only Administrator role
For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Server |
Required |
Microsoft.Exchange.Configuration.Tasks.ServerIdParameter |
This parameter specifies the name or GUID of the server for which you want to display the settings. This parameter is required if you are not running the Get-Outlook Anywhere cmdlet on a server that has the Client Access server role installed. |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
To specify the fully qualified domain name of the domain controller that retrieves data from the Active Directory directory service, include the DomainController parameter in the command. |
Identity |
Optional |
Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter |
This parameter specifies the name or GUID of the virtual directory. It is represented as: |
Input Types
Return Types
Errors
Error | Description |
---|---|
|
|
Exceptions
Exceptions | Description |
---|---|
|
|
Example
The first code example shows how to use the Server parameter to retrieve all Outlook Anywhere settings on a server named CAS01.
Get-OutlookAnywhere -Server CAS01