< Back

Lock-AMObject

Sat Jan 11, 2020 2:48 am

NAME Lock-AMObject



SYNOPSIS

Locks an AutoMate Enterprise object.





SYNTAX

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





DESCRIPTION

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

the object(s).





PARAMETERS

-InputObject <Object>

The object(s) to be locked.



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 locked by this function:

Workflow

Task

Process





OUTPUTS

None





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



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















RELATED LINKS

https://github.com/AutomatePS/AutomatePS