Start-SCSMConnector

Start-SCSMConnector

Initiates a synchronization of a Service Manager connector.

Syntax

Parameter Set: Default
Start-SCSMConnector [-Connector] <Connector[]> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Start-SCSMConnector cmdlet initiates a synchronization of a Service Manager connector. You cannot initiate synchronization for a connector that is currently disabled.

Parameters

-Connector<Connector[]>

Specifies an object which represents the connector to initiate synchronization for.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-PassThru

Specifies the connector, which when is synchronized, is written as output.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

Required?

false

Position?

named

Default Value

false

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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • Microsoft.EnterpriseManagement.ServiceManager.Sdk.Connectors.Connector

    You can pipe a connector to the Connector parameter of the Start-SCSMConnector cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None.

    This cmdlet does not generate any output.

Examples

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

The commands in this example retrieve a connector and then initiate synchronization for that connector.

PS C:\>Get-SCSMConnector
PS C:\>Get-SCSMConnector | Start-SCSMConnector

Get-SCSMConnector

Remove-SCSMConnector

Update-SCSMConnector