Compartir a través de


Get-AdminFlow

Returns information about one or more Power Automate flows.

Syntax

Get-AdminFlow
   [[-Filter] <String[]>]
   [-EnvironmentName <String>]
   [-IncludeDeleted <Boolean>]
   [-IncludeEUDBNonCompliantFlows <Boolean>]
   [-ApiVersion <String>]
   [<CommonParameters>]
Get-AdminFlow
   [-EnvironmentName <String>]
   -CreatedBy <String>
   [-IncludeDeleted <Boolean>]
   [-IncludeEUDBNonCompliantFlows <Boolean>]
   [-ApiVersion <String>]
   [<CommonParameters>]
Get-AdminFlow
   [-EnvironmentName <String>]
   -FlowName <String>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Get-AdminFlow cmdlet looks up information about one or more flows depending on parameters. Use Get-Help Get-AdminFlow -Examples for more detail.

Examples

EXAMPLE 1

Get-AdminFlow

Returns all flow from all environments where the current user is an environment admin. For global admins, this cmdlet searches across all environments in the tenant.

EXAMPLE 2

Get-AdminFlow -CreatedBy 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Returns all apps created by the user with an object of "00aa00aa-bb11-cc22-dd33-44ee44ee44ee" from all environment where the calling user is an environment admin. For global admins, this cmdlet searches across all environments in the tenant.

EXAMPLE 3

Get-AdminFlow *Flows*

Returns all flows with the text "Flows" from all environments where the current user is an environment admin. For global admins, this cmdlet searches across all environments in the tenant.

EXAMPLE 4

Get-AdminFlow -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Finds flows within the 00aa00aa-bb11-cc22-dd33-44ee44ee44ee environment.

EXAMPLE 5

Get-AdminFlow -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee -IncludeDeleted $true

Finds flows within the 00aa00aa-bb11-cc22-dd33-44ee44ee44ee environment, including any that are soft-deleted.

EXAMPLE 6

Get-AdminFlow *Foobar* -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Finds all flows in environment 00aa00aa-bb11-cc22-dd33-44ee44ee44ee that contain the string "Foobar" in the display name.

EXAMPLE 7

Get-AdminFlow -FlowName 00001111-aaaa-2222-bbbb-3333cccc4444 -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee

Returns the details for the flow named 00001111-aaaa-2222-bbbb-3333cccc4444 in Environment 00aa00aa-bb11-cc22-dd33-44ee44ee44ee.

EXAMPLE 8

Get-AdminFlow -EnvironmentName 00aa00aa-bb11-cc22-dd33-44ee44ee44ee -IncludeEUDBNonCompliantFlows $true

Finds flows that are not European Union Data Boundary (EUDB) compliant within the 00aa00aa-bb11-cc22-dd33-44ee44ee44ee environment.

Parameters

-ApiVersion

Specifies the API version.

Type:String
Position:Named
Default value:2016-11-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreatedBy

Limit flows returned to those created by the specified use. You must specify a user's object ID.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-EnvironmentName

Limit flows returned to those in a specified environment.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Filter

Finds flows matching the specified filter. Wildcards are supported.

Type:String[]
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FlowName

Finds a specific ID.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-IncludeDeleted

Include soft-deleted flows in the returned list.

Type:Boolean
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IncludeEUDBNonCompliantFlows

Include non-EUDB compliant flows in the returned list

Type:Boolean
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False