Edit

Share via


Get-AzMLWorkspace

Gets the properties of the specified machine learning workspace.

Syntax

List1 (Default)

Get-AzMLWorkspace
    [-SubscriptionId <String[]>]
    [-Skip <String>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzMLWorkspace
    -Name <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

List

Get-AzMLWorkspace
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-Skip <String>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzMLWorkspace
    -InputObject <IMachineLearningServicesIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Gets the properties of the specified machine learning workspace.

Examples

Example 1: List the properties of the specified machine learning workspace under a subscription

Get-AzMLWorkspace
Name                 SystemDataCreatedAt  SystemDataCreatedBy  SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType Location ResourceGroupName
----                 -------------------  -------------------  ----------------------- ------------------------ ------------------------ ---------------------------- -------- -----------------
mlworkspace-portal01 5/5/2022 1:27:26 AM  user@example.com    User                    5/5/2022 1:27:26 AM      user@example.com        User                         eastus   ml-rg-test
mlworkspace-cli01    5/18/2022 6:33:49 AM user@example.com    User                    5/18/2022 6:33:49 AM     user@example.com        User                         eastus   ml-rg-test
mlworkspace-demo     5/25/2022 3:06:22 AM user@example.com    User                    5/25/2022 3:06:22 AM     user@example.com        User                         eastus   ml-rg-test

List the properties of the specified machine learning workspace under a subscription.

Example 2: List the properties of the specified machine learning workspace under a resource group

Get-AzMLWorkspace -ResourceGroupName ml-rg-test
Name                 SystemDataCreatedAt  SystemDataCreatedBy  SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType Location ResourceGroupName
----                 -------------------  -------------------  ----------------------- ------------------------ ------------------------ ---------------------------- -------- -----------------
mlworkspace-portal01 5/5/2022 1:27:26 AM  user@example.com     User                    5/5/2022 1:27:26 AM      user@example.com         User                         eastus   ml-rg-test
mlworkspace-cli01    5/18/2022 6:33:49 AM user@example.com     User                    5/18/2022 6:33:49 AM     user@example.com         User                         eastus   ml-rg-test
mlworkspace-demo     5/25/2022 3:06:22 AM user@example.com     User                    5/25/2022 3:06:22 AM     user@example.com         User                         eastus   ml-rg-test

List the properties of the specified machine learning workspace under a resource group.

Example 3: Gets the properties of the specified machine learning workspace

Get-AzMLWorkspace -ResourceGroupName ml-rg-test -Name mlworkspace-cli01
Name              SystemDataCreatedAt  SystemDataCreatedBy  SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType Location ResourceGroupName
----              -------------------  -------------------  ----------------------- ------------------------ ------------------------ ---------------------------- -------- -----------------
mlworkspace-cli01 5/18/2022 6:33:49 AM user@example.com     User                    5/18/2022 6:33:49 AM     user@example.com         User                         eastus   ml-rg-test

Gets the properties of the specified machine learning workspace.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:IMachineLearningServicesIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Name of Azure Machine Learning workspace.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:WorkspaceName

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Skip

Continuation token for pagination.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

List1
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

List1
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

IMachineLearningServicesIdentity

Outputs

IWorkspace