< Back

New-AMObject

Sat Jan 11, 2020 2:57 am

NAME New-AMObject



SYNOPSIS

Creates an AutoMate Enterprise object.





SYNTAX

New-AMObject [-InputObject] <Object> [-Connection] <Object> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

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

creates the objects.





PARAMETERS

-InputObject <Object>

The object(s) to be created.



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Connection <Object>

The server to create the object on.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

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

Workflow

Task

Process

TaskAgent

ProcessAgent

AgentGroup

User

UserGroup





OUTPUTS





RELATED LINKS

https://github.com/AutomatePS/AutomatePS