< Back
Remove-AMWorkflowVariable
Post
NAME Remove-AMWorkflowVariable
SYNOPSIS
Removes a shared variable from an AutoMate Enterprise workflow
SYNTAX
Remove-AMWorkflowVariable [-InputObject] <Object> [[-Name] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Remove-AMWorkflowVariable can remove shared variables from a workflow object.
PARAMETERS
-InputObject <Object>
The object to remove the variable from.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
The name of the variable to remove.
Required? false
Position? 2
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
WorkflowVariable
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Remove variable 'emailAddress' from workflow 'Some Workflow'
Get-AMWorkflow "Some Workflow" | Remove-AMWorkflowVariable -Name "emailAddress"
RELATED LINKS
https://github.com/AutomatePS/AutomatePS
SYNOPSIS
Removes a shared variable from an AutoMate Enterprise workflow
SYNTAX
Remove-AMWorkflowVariable [-InputObject] <Object> [[-Name] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Remove-AMWorkflowVariable can remove shared variables from a workflow object.
PARAMETERS
-InputObject <Object>
The object to remove the variable from.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
The name of the variable to remove.
Required? false
Position? 2
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
WorkflowVariable
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Remove variable 'emailAddress' from workflow 'Some Workflow'
Get-AMWorkflow "Some Workflow" | Remove-AMWorkflowVariable -Name "emailAddress"
RELATED LINKS
https://github.com/AutomatePS/AutomatePS