Export (0) Print
Expand All
Expand Minimize

Add-ConnectorToTier

Add-ConnectorToTier

Configures an Operations Manager Connector Framework connector for a specified tier.

Syntax

Parameter Set: Empty
Add-ConnectorToTier [-Connector] <MonitoringConnector> [-Tier] <TieredManagementGroup> [-Confirm] [-WhatIf] [ <CommonParameters>]




Detailed Description

Configures an Operations Manager Connector Framework connector for a specified tier.

Parameters

-Connector<MonitoringConnector>

Specifies the connector to add. You can use Get-Connector to retrieve an object to use as the value of this parameter.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Tier<TieredManagementGroup>

Specifies the tier to which to add the connector. You can use Get-Tier to retrieve an object to use as the value of this parameter.


Aliases

none

Required?

true

Position?

3

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Describes what would happen if you executed the command without actually executing the command.


Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters

Notes

  • For more information, type "Get-Help Add-ConnectorToTier -detailed". For technical information, type "Get-Help Add-ConnectorToTier -full".
    When specifying multiple values for a parameter, use commas to separate the values. For example, "<parameter-name> <value1>, <value2>".

Examples

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

This command uses Get-Connector to retrieve a connector that includes "test connector" in its display name. It then uses Get-RunAsAccount to retrieve a run-as account and store it in the $runAsAccount variable. It then uses New-Tier to create a new tier named "test tier". Last, it uses Add-ConnectorToTier to add the connector to the new tier.


C:\PS>$connector = get-connector |where-object {$_.displayname -match 'test connector'}$runAsAccount = get-runasaccount |where-object {$_.username -eq 'asttest' -and $_.type -eq 'Windows'}$tier = new-tier -name 'test tier' `-managementServerName 'fabrikam.contoso.net' -runAsAccount $runAsAccountadd-connectortotier -connector $connector -tier $tier

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft