Invoke-AzSynapsePipeline   
	
   
	
		Invokes a pipeline to start a run for it.
	 
	Syntax 
	
		NewByName (Default)
	  
	
		Invoke-AzSynapsePipeline
    -WorkspaceName <String>
    -PipelineName <String>
    [-Parameter <Hashtable>]
    [-ParameterFile <String>]
    [-ReferencePipelineRunId <String>]
    [-IsRecovery]
    [-StartActivityName <String>]
    [-AsJob]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]
 
	
	
		Invoke-AzSynapsePipeline
    -InputObject <PSPipelineResource>
    [-Parameter <Hashtable>]
    [-ParameterFile <String>]
    [-ReferencePipelineRunId <String>]
    [-IsRecovery]
    [-StartActivityName <String>]
    [-AsJob]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]
 
	
		NewByObject
	  
	
		Invoke-AzSynapsePipeline
    -WorkspaceObject <PSSynapseWorkspace>
    -PipelineName <String>
    [-Parameter <Hashtable>]
    [-ParameterFile <String>]
    [-ReferencePipelineRunId <String>]
    [-IsRecovery]
    [-StartActivityName <String>]
    [-AsJob]
    [-DefaultProfile <IAzureContextContainer>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]
 
	Description 
	
		The Invoke-AzSynapsePipeline  command starts a run on the specified pipeline and returns a ID for that run. This GUID can be passed to Get-AzSynapsePipelineRun  or Get-AzSynapseActivityRun  to obtain further details about this run.
	 
	Examples 
	Example 1 
	
		Invoke-AzSynapsePipeline -WorkspaceName ContosoWorkspace -PipelineName ContosoPipeline
This command starts a run for pipeline called ContosoPipeline in the workspace ContosoWorkspace.
	 
	Example 2 
	
		$ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
$ws | Invoke-AzSynapsePipeline -PipelineName ContosoPipeline
This command starts a run for pipeline called ContosoPipeline in the workspace ContosoWorkspace through pipeline.
	 
	Example 3 
	
		$pipeline = Get-AzSynapsePipeline -WorkspaceName ContosoWorkspace -Name ContosoPipeline
$pipeline | Invoke-AzSynapsePipeline
This command starts a run for pipeline called ContosoPipeline in the workspace ContosoWorkspace through pipeline.
	 
	Parameters 
		-AsJob  
		Run cmdlet in the background
		Parameter properties 
		
				Type: SwitchParameter 
Default value: None Supports wildcards: False DontShow: False 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-Confirm 
		Prompts you for confirmation before running the cmdlet.
		Parameter properties 
		
				Type: SwitchParameter 
Default value: None Supports wildcards: False DontShow: False Aliases: cf 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-DefaultProfile  
		The credentials, account, tenant, and subscription used for communication with Azure.
		Parameter properties 
		
				Type: IAzureContextContainer 
Default value: None Supports wildcards: False DontShow: False Aliases: AzContext, AzureRmContext, AzureCredential 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		
		The information about the pipeline run.
		
		
		
			
				
					NewByInputObject 
					
						 
				   
				
						Position: Named Mandatory: True Value from pipeline: True Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-IsRecovery  
		Recovery mode flag.
If recovery mode is set to true, the specified referenced pipeline run and the new run will be grouped under the same groupId.
		Parameter properties 
		
				Type: SwitchParameter 
Default value: None Supports wildcards: False DontShow: False 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-Parameter 
		Parameters for pipeline run.
		Parameter properties 
		
				Type: Hashtable 
Default value: None Supports wildcards: False DontShow: False 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-ParameterFile  
		The name of the file with parameters for pipeline run.
		Parameter properties 
		
				Type: String 
Default value: None Supports wildcards: False DontShow: False 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-PipelineName  
		The pipeline name.
		Parameter properties 
		
				Type: String 
Default value: None Supports wildcards: False DontShow: False 
		Parameter sets 
			
				
					NewByName 
					
						 
				  
				
						Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
			
				
					NewByObject 
					
						 
				  
				
						Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-ReferencePipelineRunId    
		The pipeline run ID for rerun.
If run ID is specified, the parameters of the specified run will be used to create a new run.
		Parameter properties 
		
				Type: String 
Default value: None Supports wildcards: False DontShow: False 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-StartActivityName   
		In recovery mode, the rerun will start from this activity.
If not specified, all activities will run.
		Parameter properties 
		
				Type: String 
Default value: None Supports wildcards: False DontShow: False 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-WhatIf  
		Shows what would happen if the cmdlet runs.
The cmdlet is not run.
		Parameter properties 
		
				Type: SwitchParameter 
Default value: None Supports wildcards: False DontShow: False Aliases: wi 
		Parameter sets 
			
				
					(All) 
					
						 
				 
				
						Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-WorkspaceName  
		Name of Synapse workspace.
		Parameter properties 
		
				Type: String 
Default value: None Supports wildcards: False DontShow: False 
		Parameter sets 
			
				
					NewByName 
					
						 
				  
				
						Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False 
			 
		-WorkspaceObject  
		workspace input object, usually passed through the pipeline.
		Parameter properties 
		
		Parameter sets 
			
				
					NewByObject 
					
						 
				  
				
						Position: Named Mandatory: True Value from pipeline: True Value from pipeline by property name: False Value from remaining arguments: False 
			 
		CommonParameters 
		
			This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
		 
	
			
			
				
			
			
			
				
			
	Outputs