Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-11-19
Use the Get-CmdletExtensionAgent cmdlet on a server running Microsoft Exchange Server 2010 to display a list of cmdlet extension agents in the organization.
Syntax
Get-CmdletExtensionAgent [-Identity
<CmdletExtensionAgentIdParameter>] [-DomainController
<Fqdn>]
|
Get-CmdletExtensionAgent [-Assembly <String>]
[-DomainController <Fqdn>] [-Enabled <$true |
$false>]
|
Detailed Description
Run the Get-CmdletExtensionAgent cmdlet on an Exchange 2010 server to display a list of cmdlet extension agents in the organization.
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 "cmdlet extension agents" entry in the Exchange and Shell Infrastructure Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Assembly |
Optional |
System.String |
The Assembly parameter specifies that only the agents that match the assembly name provided should be listed. |
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. |
Enabled |
Optional |
System.Boolean |
The Enabled parameter specifies whether the cmdlet should
return a list of enabled agents only, or a list of disabled agents
only. Valid values are |
Identity |
Optional |
Microsoft.Exchange.Configuration.Tasks.CmdletExtensionAgentIdParameter |
The Identity parameter specifies the name of the cmdlet extension agent to view. If the name contains spaces, enclose the name in quotation marks. |
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.
Examples
EXAMPLE 1
This example displays the details about a specific cmdlet extension agent.
Copy Code | |
---|---|
Get-CmdletExtensionAgent "Mailbox Permissions Agent" |
EXAMPLE 2
This example displays a list of all the cmdlet extension agents in the organization. The Name, Enabled, and Priority properties of each agent are displayed in a table. This is done by piping the results of the Get-CmdletExtensionAgent cmdlet to the Format-Table cmdlet.
For more information about pipelining and the Format-Table cmdlet, see the following topics:
Copy Code | |
---|---|
Get-CmdletExtensionAgent | Format-Table Name, Enabled, Priority |