File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
articles/machine-learning Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,16 @@ The following command creates the workspace and configures it to use the service
103
103
104
104
```azurepowershell-interactive
105
105
$Workspace = 'MyWorkspace'
106
- New-AzMLWorkspace -Name $Workspace -ResourceGroupName $ResourceGroup -Location $Location `
107
- -ApplicationInsightID $appid `
108
- -KeyVaultId $kvid `
109
- -StorageAccountId $storeid `
110
- -IdentityType 'SystemAssigned'
106
+ $mlWorkspaceParams = @{
107
+ Name = $Workspace
108
+ ResourceGroupName = $ResourceGroup
109
+ Location = $Location
110
+ ApplicationInsightID = $appid
111
+ KeyVaultId = $kvid
112
+ StorageAccountId = $storeid
113
+ IdentityType = 'SystemAssigned'
114
+ }
115
+ New-AzMLWorkspace @mlWorkspaceParams
111
116
```
112
117
113
118
> [ !TIP]
You can’t perform that action at this time.
0 commit comments