< Back
Invoke-Cidney
Post
NAME Invoke-Cidney
SYNOPSIS
Invoke-Cidney will start a Cidney Pipeline.
SYNTAX
Invoke-Cidney [-InputObject <Object[]>] [-Name <String>] [-ShowProgress] [-DynamicParams <Object>]
[<CommonParameters>]
Invoke-Cidney [-InputObject <Object[]>] [[-Name] <String>] [-ShowProgress] [-DynamicParams <Object>]
[<CommonParameters>]
Invoke-Cidney [-InputObject <Object[]>] [[-Name] <String>] [-Force] [-DynamicParams <Object>] [<CommonParameters>]
DESCRIPTION
To start a Pipeline you use the cmdlet Invoke-Cidney. You can specify a name or a list of one or more Pipelines
returned from the
cmdlet Get-CidneyPipeline.
Note: Because the Do: keyword sets up jobs some may hang around in an error state if there are errors when
executing.
If this happens you can use the job functions in powershell to investigate and clean up. Wait-Job, Receive-Job and
Remove-Job.
But if you just want to clean up quickly and do a reset you can call Invoke-Cidney -Force and it will clean up all
Cidney jobs.
PARAMETERS
-InputObject <Object[]>
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ShowProgress [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-DynamicParams <Object>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Pipeline: HelloWorld {
Write-Output "Hello World"
}
Invoke-CidneyPipeline HelloWorld
Output:
Hello World
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Pipeline: HelloWorld {
Write-Output "Hello World"
}
Invoke-CidneyPipeline HelloWorld -Verbose
Output:
VERBOSE: [03/15/16 4:48:46.742 PM] [Start] Pipeline HelloWorld
Hello World
VERBOSE: [03/15/16 4:48:46.823 PM] [Done] Pipeline HelloWorld
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-CidneyPipeline Hello* | Invoke-Cidney
output
VERBOSE: [03/15/16 4:48:46.742 PM] [Start] Pipeline HelloWorld
Hello World
VERBOSE: [03/15/16 4:48:46.823 PM] [Done] Pipeline HelloWorld
RELATED LINKS
Pipeline:
Stage:
On:
Do:
When:
Remove-CidneyPipeline
SYNOPSIS
Invoke-Cidney will start a Cidney Pipeline.
SYNTAX
Invoke-Cidney [-InputObject <Object[]>] [-Name <String>] [-ShowProgress] [-DynamicParams <Object>]
[<CommonParameters>]
Invoke-Cidney [-InputObject <Object[]>] [[-Name] <String>] [-ShowProgress] [-DynamicParams <Object>]
[<CommonParameters>]
Invoke-Cidney [-InputObject <Object[]>] [[-Name] <String>] [-Force] [-DynamicParams <Object>] [<CommonParameters>]
DESCRIPTION
To start a Pipeline you use the cmdlet Invoke-Cidney. You can specify a name or a list of one or more Pipelines
returned from the
cmdlet Get-CidneyPipeline.
Note: Because the Do: keyword sets up jobs some may hang around in an error state if there are errors when
executing.
If this happens you can use the job functions in powershell to investigate and clean up. Wait-Job, Receive-Job and
Remove-Job.
But if you just want to clean up quickly and do a reset you can call Invoke-Cidney -Force and it will clean up all
Cidney jobs.
PARAMETERS
-InputObject <Object[]>
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ShowProgress [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-DynamicParams <Object>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Pipeline: HelloWorld {
Write-Output "Hello World"
}
Invoke-CidneyPipeline HelloWorld
Output:
Hello World
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Pipeline: HelloWorld {
Write-Output "Hello World"
}
Invoke-CidneyPipeline HelloWorld -Verbose
Output:
VERBOSE: [03/15/16 4:48:46.742 PM] [Start] Pipeline HelloWorld
Hello World
VERBOSE: [03/15/16 4:48:46.823 PM] [Done] Pipeline HelloWorld
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-CidneyPipeline Hello* | Invoke-Cidney
output
VERBOSE: [03/15/16 4:48:46.742 PM] [Start] Pipeline HelloWorld
Hello World
VERBOSE: [03/15/16 4:48:46.823 PM] [Done] Pipeline HelloWorld
RELATED LINKS
Pipeline:
Stage:
On:
Do:
When:
Remove-CidneyPipeline