FabricTools v0.33.0 Public Preview

Get-FabricItem

Retrieves fabric items from a workspace.

Syntax

Parameter set: WorkspaceId
Get-FabricItem -WorkspaceId <guid> [-type <string>] [-itemID <guid>] [<CommonParameters>]
Parameter set: WorkspaceObject
Get-FabricItem -Workspace <Object> [-type <string>] [-itemID <guid>] [<CommonParameters>]

Description

The Get-FabricItem function retrieves fabric items from a specified workspace. It can retrieve all items or filter them by item type.

Examples

Example 1

This example retrieves all fabric items of type "file" from the workspace with ID "12345".

Get-FabricItem -workspaceId "12345" -type "file"

Parameters

NameTypeReq.Pos.PipelineDescription
-Workspace object ✓Required Named Value

The workspace object from which to retrieve the fabric items. This parameter can be piped into the function.

-WorkspaceId guid ✓Required Named –

The ID of the workspace from which to retrieve the fabric items.

-itemID guid Named –

The ID of the specific item to retrieve. If not specified, all items will be retrieved.

-typealias: itemType string Named –

(Optional) The type of the fabric items to retrieve. If not specified, all items will be retrieved.

This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.

Inputs

System.Object

{{ Fill in the Description }}

Notes

Author: Rui Romano