Start-SCSMConnector

Initiates a synchronization of a Service Manager connector.

Syntax

Start-SCSMConnector [-Connector] <Connector[]> [-Confirm] [-PassThru] [-WhatIf] [<CommonParameters>]

Description

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

Examples

Example 1: Start a connector synchronization

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

This command gets the connector by using the Get-SCSMConnector cmdlet. The command passes that result to the current cmdlet by using the pipeline operator. That cmdlet starts synchronization for that connector.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Connector

Specifies the connector for which this cmdlet initiates synchronization.

Type:Connector[]
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-PassThru

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

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

Inputs

Microsoft.EnterpriseManagement.ServiceManager.Sdk.Connectors.Connector

You can pipe a connector to the *Connector* parameter.

Outputs

None.

This cmdlet does not generate any output.