< Back

Disable-AMObject

Sat Jan 11, 2020 2:32 am

NAME Disable-AMObject



SYNOPSIS

Disables an AutoMate Enterprise object.





SYNTAX

Disable-AMObject [-InputObject] <Object> [<CommonParameters>]





DESCRIPTION

Disable-AMObject receives AutoMate Enterprise object(s) on the pipeline, or via the parameter $InputObject, and

disables the object(s).





PARAMETERS

-InputObject <Object>

The object(s) to be disabled.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

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 objects can be disabled by this function:

Workflow

Task

Condition

Process

TaskAgent

ProcessAgent

AgentGroup

User

UserGroup





OUTPUTS

None





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



PS C:\\>Get-AMWorkflow "My Workflow" | Disable-AMObject















RELATED LINKS

https://github.com/AutomatePS/AutomatePS