New-SCOrchestratorConnector

Creates a 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.

Required Parameters

-DisplayName

Specifies the display name of the connector.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SCOCredential

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

Type:PSCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WebServiceURL

Specifies the URL of the Orchestrator web service.

Type:String
Position:4
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional 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:String[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value: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:PSCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description for the connector.

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Enable

Indicates whether this cmdlet enables or disables the connector.

Type:Boolean
Position:Named
Default value:None
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:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsAccount

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

Type:ManagementPackSecureReference
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SCSession

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

Type:Connection[]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SyncFolderPath

Specifies the Orchestrator folder path from which runbooks are synchronized.

Type:String
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WebConsoleURL

Specifies the URL of the Orchestrator web console.

Type:String
Position:5
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None.

You cannot pipe input to this cmdlet.