< Back
Rename-AMObject
Post
NAME Rename-AMObject
SYNOPSIS
Renames an AutoMate Enterprise object.
SYNTAX
Rename-AMObject -InputObject <Object> [-Name] <String> [<CommonParameters>]
DESCRIPTION
Rename-AMObject receives AutoMate Enterprise object(s) on the pipeline, or via the parameter $InputObject, and
renames the object(s).
PARAMETERS
-InputObject <Object>
The object(s) to be locked.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
The new name.
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 renamed by this function:
Folder
Workflow
WorkflowVariable
Task
Process
AgentGroup
UserGroup
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AMWorkflow "My Workflow" | Rename-AMObject "My Renamed Workflow"
RELATED LINKS
https://github.com/AutomatePS/AutomatePS
SYNOPSIS
Renames an AutoMate Enterprise object.
SYNTAX
Rename-AMObject -InputObject <Object> [-Name] <String> [<CommonParameters>]
DESCRIPTION
Rename-AMObject receives AutoMate Enterprise object(s) on the pipeline, or via the parameter $InputObject, and
renames the object(s).
PARAMETERS
-InputObject <Object>
The object(s) to be locked.
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
The new name.
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 renamed by this function:
Folder
Workflow
WorkflowVariable
Task
Process
AgentGroup
UserGroup
OUTPUTS
None
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-AMWorkflow "My Workflow" | Rename-AMObject "My Renamed Workflow"
RELATED LINKS
https://github.com/AutomatePS/AutomatePS