< Back

Remove-AMWorkflowItem

Sat Jan 11, 2020 3:16 am

NAME Remove-AMWorkflowItem



SYNOPSIS

Removes an item from an AutoMate Enterprise workflow





SYNTAX

Remove-AMWorkflowItem -InputObject <Object> [[-ID] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Remove-AMWorkflowItem can remove items from a workflow object.





PARAMETERS

-InputObject <Object>

The item object to remove.



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-ID <String>

The ID of the item to remove (if passing in a workflow).



Required? false

Position? 1

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

WorkflowItem

WorkflowTrigger





OUTPUTS

None





-------------------------- EXAMPLE 1 --------------------------



PS C:\\># Remove all triggers from workflow "Some Workflow"



(Get-AMWorkflow "Some Workflow").Triggers | Remove-AMWorkflowItem











RELATED LINKS

https://github.com/AutomatePS/AutomatePS