Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Get-JobSchedulerAgentCluster

SYNOPSIS

Returns a number of Agent clusters Clusters from the JobScheduler Master. Agent clusters correspond to process class objects in JobScheduler Master.

SYNTAX

Get-JobSchedulerAgentCluster [[-AgentCluster] <String>] [[-Directory] <String>] [-AgentCluster <String>Recursive] [-NoSubfolders -NoCache [<CommonPara
meters>Compact] [[-State] <Int32>] [<CommonParameters>]

DESCRIPTION

Agent clusters Clusters are retrieved from a JobScheduler Master, they correspond to process classes that specify
a remote JobScheduler instance.

Agent clusters Clusters can be selected either by the folder of the Agent cluster Cluster location including subfolders sub-folders
or by an individual Agent clusterCluster.

Resulting Agent clusters Clusters can be forwarded to cmdlets, such as Get-JobSchedulerAgentStatus, for pipelined bulk operation
soperations.

PARAMETERS

...

AgentCluster

-Directory AgentCluster <String>
Optionally specifies the folder for which Agent clusters path and name of an Agent Cluster that should be returned. The directory is determined
from the root folder, i.e. the "live" directory
If the name of an Agent Cluster is specified then the -Directory parameter is used to determine the folder.
Otherwise the -AgentCluster parameter is assumed to include the full path and name of the Agent Cluster.

One of the parameters -Directory and or -AgentCluster has to be specified.

Required?false
Position?1
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

Directory

-AgentCluster Directory <String>
Optionally specifies the path and name of an Agent cluster that folder for which Agent Clusters should be returned. The directory is determined
If the name of an Agent cluster is specified then the -Directory parameter is used to determine the folder.
Otherwise the -AgentCluster parameter is assumed to include the full path and name of the Agent clusterfrom the root folder, i.e. the "live" directory.

One of the parameters -Directory or and -AgentCluster has to be specified.

Required?false
Position?2
Default value/
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

Recursive

-NoSubfolders Recursive <SwitchParameter>
Specifies that no subfolders any sub-folders should be looked up. By default any subfolders no sub-folders will be searched for Agent clustersClusters.

Required?false
Position?named
Default valueFalse
Accept pipeline input?

...

true (ByPropertyName)
Accept wildcard characters?false

...

Compact

-NoCache <SwitchParameter>
Specifies that the cache for JobScheduler Agent objects is ignored.
This results in the fact that for each Get-Agent* cmdlet execution the response is
retrieved directly from the JobScheduler Master and is not resolved from the cache.Required? false
Position? named
Default value
Accept pipeline input? falseCompact <SwitchParameter>

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

State

-State <Int32>

Required?false
Position?3
Default value0
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

about_jobscheduler

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

C:\PS>$agentClusters PS > $agentClusters = Get-JobSchedulerAgentCluster

Returns all Agent clustersClusters.

-------------------------- EXAMPLE 2 --------------------------

C:\PS>$agentClusters PS > $agentClusters = Get-JobSchedulerAgentCluster -Directory /some_folder -NoSubfoldersRecursive

Returns all Agent clusters Clusters that are configured with the root folder "some_folder" (starting from the "live" directory)
without consideration of subfoldersand any sub-folders.

-------------------------- EXAMPLE 3 --------------------------

C:\PS>$agentClusters PS > $agentClusters = Get-JobSchedulerAgentCluster -AgentCluster /test/globals/Agent_01

Returns the Agent cluster Cluster "Agent_01" from the folder "/test/globals".