< Back

Move-AMObject

Sat Jan 11, 2020 2:49 am

NAME Move-AMObject



SYNOPSIS

Moves an AutoMate Enterprise object.





SYNTAX

Move-AMObject -InputObject <Object> [-Folder] <Object> [<CommonParameters>]





DESCRIPTION

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

the object(s) to the specified folder.





PARAMETERS

-InputObject <Object>

The object(s) to be moved.



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Folder <Object>

The folder to move the object to.



Required? true

Position? 1

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

Folder

Workflow

Task

Process

TaskAgent

ProcessAgent

AgentGroup

User

UserGroup





OUTPUTS

None





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



PS C:\\>Get-AMWorkflow "My Workflow" | Move-AMObject -Folder (Get-AMFolder -Path \\WORKFLOWS)















RELATED LINKS

https://github.com/AutomatePS/AutomatePS