Get-AgentOperatorCategory

Gets an OperatorCategory object or collection of OperatorCategory objects.

Syntax

Get-AgentOperatorCategory [-jobserver] <Object> [[-name] <String>] [<CommonParameters>]

Detailed Description

The Get-AgentOperatorCategory function gets an OperatorCategory object or a collection of OperatorCategory objects for the specified server.

Related Commands

* Get-AgentOperatorCategory

Parameters

Name Description Required? Pipeline Input Default Value
jobserver    true  false   
name    false  false   

Input Type

None You cannot pipe objects to Get-AgentOperatorCategory

Return Values

Microsoft.SqlServer.Management.Smo.Agent.OperatorCategory Get-AgentOperatorCategory returns a Microsoft.SqlServer.Management.Smo.Agent.OperatorCategory object.

Examples

EXAMPLE 1

Get-AgentOperatorCategory "Z002\sql2K8"
This command gets a collection of OperatorCategory objects for SQL Server Z002\SQL2K8.