New-SCOrchestratorConnector

Creates a new Service Manager Orchestrator connector.

Syntax

New-SCOrchestratorConnector
   [[-Description] <String>]
   [-Enable <Boolean>]
   [-DisplayName] <String>
   [-PassThru]
   -SCOCredential <PSCredential>
   [[-RunAsAccount] <ManagementPackSecureReference>]
   [[-SyncFolderPath] <String>]
   [-WebServiceURL] <String>
   [[-WebConsoleURL] <String>]
   [-SCSession <Connection[]>]
   [-ComputerName <String[]>]
   [-Credential <PSCredential>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-SCOrchestratorConnector cmdlet creates a Service Manager Orchestrator connector.

Examples

Example 1: Create a Service Manager Orchestrator connector

PS C:\>$Credential = Get-Credential
PS C:\>New-SCOrchestratorConnector -DisplayName "SCO Connector" -SCOCredential $Credential -WebServiceURL "http://contososerver:81/Orchestrator2012/Orchestrator.svc" -WebConsoleURL "http://contososerver:82/"

The first command prompts you for credentials by using the Get-Credential cmdlet, and then stores the credentials in the $Credential variable.

The second command creates a Service Manager Orchestrator connector.

Parameters

-ComputerName

Specifies the name of the computer on which the System Center Data Access service runs. The user account that is specified in the Credential parameter must have access rights to the specified computer.

Type:System.String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:System.Management.Automation.SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Credential

Specifies the credentials that this cmdlet uses to connect to the server on which the System Center Data Access service runs. The specified user account must have access rights to that server.

Type:System.Management.Automation.PSCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

Specifies a description for the connector.

Type:System.String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisplayName

Specifies the display name of the connector.

Type:System.String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Enable

Indicates whether this cmdlet enables or disables the connector.

Type:System.Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Indicates that this cmdlet returns the connector that this cmdlet creates. You can pass this object to other cmdlets.

Type:System.Management.Automation.SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RunAsAccount

Specifies the Run As account that the connector uses when it runs.

Type:Microsoft.EnterpriseManagement.Configuration.ManagementPackSecureReference
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SCOCredential

Specifies a user account that is used to connect to the Orchestrator web service.

Type:System.Management.Automation.PSCredential
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SCSession

Specifies an object that represents the session to a Service Manager management server.

Type:Microsoft.SystemCenter.Core.Connection.Connection[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SyncFolderPath

Specifies the Orchestrator folder path from which runbooks are synchronized.

Type:System.String
Position:3
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WebConsoleURL

Specifies the URL of the Orchestrator web console.

Type:System.String
Position:5
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WebServiceURL

Specifies the URL of the Orchestrator web service.

Type:System.String
Position:4
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:System.Management.Automation.SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None.

You cannot pipe input to this cmdlet.