Get-FabricMLExperiment
Retrieves ML Experiment details from a specified Microsoft Fabric workspace.
Syntax
Get-FabricMLExperiment [-WorkspaceId] <guid> [[-MLExperimentId] <guid>]
[[-MLExperimentName] <string>] [<CommonParameters>]Description
This function retrieves ML Experiment details from a specified workspace using either the provided MLExperimentId or MLExperimentName. It handles token validation, constructs the API URL, makes the API request, and processes the response.
Examples
Example 1
This example retrieves the ML Experiment details for the experiment with ID "experiment-67890" in the workspace with ID "workspace-12345".
Get-FabricMLExperiment -WorkspaceId "workspace-12345" -MLExperimentId "experiment-67890"Example 2
This example retrieves the ML Experiment details for the experiment named "My ML Experiment" in the workspace with ID "workspace-12345".
Get-FabricMLExperiment -WorkspaceId "workspace-12345" -MLExperimentName "My ML Experiment"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -WorkspaceId | guid | ✓Required | 0 | – | The unique identifier of the workspace where the ML Experiment exists. This parameter is mandatory. |
| -MLExperimentId | guid | 1 | – | The unique identifier of the ML Experiment to retrieve. This parameter is optional. |
|
| -MLExperimentName | string | 2 | – | The name of the ML Experiment to retrieve. This parameter is optional. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
Author: Tiago Balabuch, Kamil Nowinski