共用方式為


Add-AdminFlowsToSolution

Add flows to a solution.

Syntax

Add-AdminFlowsToSolution
   -EnvironmentName <String>
   [-SolutionId <String>]
   [-FlowNames <String[]>]
   [-Top <Int32>]
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Add-AdminFlowsToSolution migrates non-solution flows to a solution. Use Get-Help Add-AdminFlowsToSolution -Examples for more detail.

Examples

EXAMPLE 1

Add-AdminFlowsToSolution -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239

Migrates all the non-solution flows in the environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239 to a default solution.

EXAMPLE 2

Add-AdminFlowsToSolution -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -FlowNames a795f437-3b2b-4f56-ad2c-f3675121fe15,f74970cb-a77b-4762-8f87-b7c105f0ae0a,15ee1047-5beb-4225-9d2f-787f8c5a9f21

Migrates flows in the environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239 to a default solution.

EXAMPLE 3

Add-AdminFlowsToSolution -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -SolutionId 55501614-db8a-4537-8d60-26e80cb80372

Migrates all the non-solution flows in the environment 3c2f7648-ad60-4871-91cb-b77d7ef3c239 to the solution 55501614-db8a-4537-8d60-26e80cb80372.

EXAMPLE 4

Add-AdminFlowsToSolution -EnvironmentName 3c2f7648-ad60-4871-91cb-b77d7ef3c239 -SolutionId 55501614-db8a-4537-8d60-26e80cb80372 -Top 50

Migrates the top 50 non-solution flows to the specified solution.

Parameters

-ApiVersion

Specifies the API version.

Type:String
Position:Named
Default value:2016-11-01
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-EnvironmentName

Environment ID where the flow is located.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-FlowNames

Specifies the flows by flow ID to be added to a solution.

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

-SolutionId

Specifies the solution ID.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Top

Limits the number of flows that can be added to solution.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False