Get-OutlookAnywhere
Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
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 [-Identity <VirtualDirectoryIdParameter>] [-DomainController <Fqdn>]
Get-OutlookAnywhere -Server <ServerIdParameter> [-DomainController <Fqdn>]
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 Exchange View-Only Administrator role.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange 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