Applies to: Exchange Server 2013, Exchange Online
Topic Last Modified: 2012-07-12
Use the Get-OwaMailboxPolicy cmdlet to retrieve all Microsoft Office Outlook Web App mailbox policies in a Microsoft Exchange Server 2013 organization.
For information about the parameter sets in the Syntax section below, see Syntax.
Syntax
Get-OwaMailboxPolicy [-Identity
<DehydrateableMailboxPolicyIdParameter>] [-DomainController
<Fqdn>] [-IgnoreDehydratedFlag <SwitchParameter>]
[-Organization <OrganizationIdParameter>]
|
Examples
EXAMPLE 1
This example retrieves the properties of all mailbox policies for the organization Contoso.
Copy Code | |
---|---|
Get-OwaMailboxPolicy -Organization Contoso |
EXAMPLE 2
This example retrieves the properties of the Outlook Web App mailbox policy Executives in the organization Fabrikam.
Copy Code | |
---|---|
Get-OwaMailboxPolicy -Identity Fabrikam\Executives |
EXAMPLE 3
This example retrieves the information for the Outlook Web App mailbox policy Corporate for the tenant Contoso in the organization Proseware.
Copy Code | |
---|---|
Get-OwaMailboxPolicy -Identity Proseware\Contoso\Corporate |
Detailed Description
The Get-OwaMailboxPolicy cmdlet retrieves information about existing Outlook Web App mailbox policies.
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Outlook Web App mailbox policies" entry in the Clients and Mobile Devices Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory. |
Identity |
Optional |
Microsoft.Exchange.Configuration.Tasks.DehydrateableMailboxPolicyIdParameter |
The Identity parameter specifies the name of the policy or path to the policy including the name, for example, <Organization>\<ResellerA>\<Reseller…n>\<Tenant>\<Object Name>. |
IgnoreDehydratedFlag |
Optional |
System.Management.Automation.SwitchParameter |
This parameter is reserved for internal Microsoft use. |
Organization |
Optional |
Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter |
This parameter is reserved for internal Microsoft use. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.