< Back

Enable-AMObject

Sat Jan 11, 2020 2:32 am

NAME Enable-AMObject



SYNOPSIS

Enables an AutoMate Enterprise object.





SYNTAX

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





DESCRIPTION

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

enables 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-AMAgent "agent01" | Enable-AMObject















RELATED LINKS

https://github.com/AutomatePS/AutomatePS