< Back

Get-AMFolderRoot

Sat Jan 11, 2020 2:39 am

NAME Get-AMFolderRoot



SYNOPSIS

Gets AutoMate Enterprise root folders.





SYNTAX

Get-AMFolderRoot [[-Type] <String>] [[-FilterSet] <Hashtable[]>] [[-FilterSetMode] <String>] [[-Connection]

<Object>] [<CommonParameters>]





DESCRIPTION

Get-AMFolderRoot returns a list of root folders and their IDs.





PARAMETERS

-Type <String>

The type of root folder to return.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-FilterSet <Hashtable[]>

The parameters to filter the search on. Supply hashtable(s) with the following properties: Property,

Operator, Value.

Valid values for the Operator are: =, !=, <, >, contains (default - no need to supply Operator when using

'contains')



Required? false

Position? 2

Default value @()

Accept pipeline input? false

Accept wildcard characters? false



-FilterSetMode <String>

If multiple filter sets are provided, FilterSetMode determines if the filter sets should be evaluated with an

AND or an OR



Required? false

Position? 3

Default value And

Accept pipeline input? false

Accept wildcard characters? false



-Connection <Object>

The AutoMate Enterprise management server.



Required? false

Position? 4

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



OUTPUTS

System.Object[]





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



PS C:\\># Get the default system agent



Get-AMFolderRoot -Type Task









-------------------------- EXAMPLE 2 --------------------------



PS C:\\># Get workflows contained in the root of \\WORKFLOWS



Get-AMFolderRoot -Type Workflow | Get-AMWorkflow











RELATED LINKS

https://github.com/AutomatePS/AutomatePS