< Back
Set-AMWorkflow
Post
NAME Set-AMWorkflow
SYNOPSIS
Sets properties of an AutoMate Enterprise workflow.
SYNTAX
Set-AMWorkflow -InputObject <Object> [-Notes <String>] [-CompletionState {InDevelopment | Testing | Production |
Archive}] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-AMWorkflow -Instance <Object> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set-AMWorkflow can change properties of a workflow object.
PARAMETERS
-InputObject <Object>
The object to modify.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Instance <Object>
The object to save. Use this parameter if the object was modified directly, and not by another function in
this module.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Notes <String>
The new notes to set on the object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CompletionState
The completion state (staging level) to set on the object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
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
The following AutoMate object types can be modified by this function:
Workflow
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Change notes for a workflow
Get-AMWorkflow "Some Workflow" | Set-AMWorkflow -Notes "Does something important"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Modify a workflow
Set-AMWorkflow -Instance $modifiedWorkflow
RELATED LINKS
https://github.com/AutomatePS/AutomatePS
SYNOPSIS
Sets properties of an AutoMate Enterprise workflow.
SYNTAX
Set-AMWorkflow -InputObject <Object> [-Notes <String>] [-CompletionState {InDevelopment | Testing | Production |
Archive}] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-AMWorkflow -Instance <Object> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Set-AMWorkflow can change properties of a workflow object.
PARAMETERS
-InputObject <Object>
The object to modify.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Instance <Object>
The object to save. Use this parameter if the object was modified directly, and not by another function in
this module.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Notes <String>
The new notes to set on the object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-CompletionState
The completion state (staging level) to set on the object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
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
The following AutoMate object types can be modified by this function:
Workflow
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Change notes for a workflow
Get-AMWorkflow "Some Workflow" | Set-AMWorkflow -Notes "Does something important"
-------------------------- EXAMPLE 2 --------------------------
PS C:\\># Modify a workflow
Set-AMWorkflow -Instance $modifiedWorkflow
RELATED LINKS
https://github.com/AutomatePS/AutomatePS